Struct LineBasicMaterialOptions
pub struct LineBasicMaterialOptions {
pub opacity: f64,
pub transparent: bool,
pub depth_test: bool,
pub linewidth: i64,
pub identifier: Option<String>,
}Expand description
Options for adding a line basic material.
Fields§
§opacity: f64The opacity of the material.
transparent: boolThe transparent flag of the material.
depth_test: boolThe depth test flag of the material.
linewidth: i64The linewidth of the material.
identifier: Option<String>The explicit identifier; assigned by the server when None.
Trait Implementations§
§impl Clone for LineBasicMaterialOptions
impl Clone for LineBasicMaterialOptions
§fn clone(&self) -> LineBasicMaterialOptions
fn clone(&self) -> LineBasicMaterialOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for LineBasicMaterialOptions
impl Debug for LineBasicMaterialOptions
Auto Trait Implementations§
impl Freeze for LineBasicMaterialOptions
impl RefUnwindSafe for LineBasicMaterialOptions
impl Send for LineBasicMaterialOptions
impl Sync for LineBasicMaterialOptions
impl Unpin for LineBasicMaterialOptions
impl UnwindSafe for LineBasicMaterialOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more