Struct LineBasicMaterial
pub struct LineBasicMaterial { /* private fields */ }Expand description
Write-access helper for a line basic material.
Implementations§
Methods from Deref<Target = MaterialWithTransparency>§
pub fn transparency(&self, value: f64) -> Result<Instruction>
pub fn transparency(&self, value: f64) -> Result<Instruction>
Writes the transparency property.
Returns Error::Value if value is not between 0.0 and 1.0.
Methods from Deref<Target = MaterialHelper>§
pub fn depth_test(&self, value: bool) -> Instruction
pub fn depth_test(&self, value: bool) -> Instruction
Writes the depth test property.
Trait Implementations§
§impl Clone for LineBasicMaterial
impl Clone for LineBasicMaterial
§fn clone(&self) -> LineBasicMaterial
fn clone(&self) -> LineBasicMaterial
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 LineBasicMaterial
impl Debug for LineBasicMaterial
§impl Deref for LineBasicMaterial
impl Deref for LineBasicMaterial
Auto Trait Implementations§
impl Freeze for LineBasicMaterial
impl RefUnwindSafe for LineBasicMaterial
impl Send for LineBasicMaterial
impl Sync for LineBasicMaterial
impl Unpin for LineBasicMaterial
impl UnwindSafe for LineBasicMaterial
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