[−][src]Struct weldr::SpeckleMaterial
Speckle material definition of a color definition (!COLOUR language extension).
Fields
value: Color
Primary color value of the material.
alpha: Option<u8>
Optional alpha (opacity) value.
luminance: Option<u8>
Optional brightness value.
surface_fraction: f32
Fraction of the surface using the alternate color.
size: GrainSize
Size of speckle grains.
Trait Implementations
impl Debug for SpeckleMaterial
[src]
impl PartialEq<SpeckleMaterial> for SpeckleMaterial
[src]
pub fn eq(&self, other: &SpeckleMaterial) -> bool
[src]
pub fn ne(&self, other: &SpeckleMaterial) -> bool
[src]
impl StructuralPartialEq for SpeckleMaterial
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpeckleMaterial
impl Send for SpeckleMaterial
impl Sync for SpeckleMaterial
impl Unpin for SpeckleMaterial
impl UnwindSafe for SpeckleMaterial
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,