Struct gltf_json::material::StrengthFactor [−][src]
pub struct StrengthFactor(pub f32);
Expand description
A number in the inclusive range [0.0, 1.0] with a default value of 1.0.
Tuple Fields
0: f32
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for StrengthFactor
impl Send for StrengthFactor
impl Sync for StrengthFactor
impl Unpin for StrengthFactor
impl UnwindSafe for StrengthFactor
Blanket Implementations
Mutably borrows from an owned value. Read more