Struct PointsMaterial
pub struct PointsMaterial { /* private fields */ }Expand description
Write-access helper for a points 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 PointsMaterial
impl Clone for PointsMaterial
§fn clone(&self) -> PointsMaterial
fn clone(&self) -> PointsMaterial
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 PointsMaterial
impl Debug for PointsMaterial
§impl Deref for PointsMaterial
impl Deref for PointsMaterial
Auto Trait Implementations§
impl Freeze for PointsMaterial
impl RefUnwindSafe for PointsMaterial
impl Send for PointsMaterial
impl Sync for PointsMaterial
impl Unpin for PointsMaterial
impl UnwindSafe for PointsMaterial
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