Struct gltf_json::extensions::material::EmissiveStrengthFactor
source · pub struct EmissiveStrengthFactor(pub f32);
Expand description
A positive number with 1.0 as the default value.
Tuple Fields§
§0: f32
Trait Implementations§
source§impl Clone for EmissiveStrengthFactor
impl Clone for EmissiveStrengthFactor
source§fn clone(&self) -> EmissiveStrengthFactor
fn clone(&self) -> EmissiveStrengthFactor
Returns a copy 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 moresource§impl Debug for EmissiveStrengthFactor
impl Debug for EmissiveStrengthFactor
source§impl Default for EmissiveStrengthFactor
impl Default for EmissiveStrengthFactor
source§impl<'de> Deserialize<'de> for EmissiveStrengthFactor
impl<'de> Deserialize<'de> for EmissiveStrengthFactor
source§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
source§impl Serialize for EmissiveStrengthFactor
impl Serialize for EmissiveStrengthFactor
source§impl Validate for EmissiveStrengthFactor
impl Validate for EmissiveStrengthFactor
impl Copy for EmissiveStrengthFactor
Auto Trait Implementations§
impl RefUnwindSafe for EmissiveStrengthFactor
impl Send for EmissiveStrengthFactor
impl Sync for EmissiveStrengthFactor
impl Unpin for EmissiveStrengthFactor
impl UnwindSafe for EmissiveStrengthFactor
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