Struct gltf_json::extensions::material::EmissiveStrength
source · pub struct EmissiveStrength {
pub emissive_strength: EmissiveStrengthFactor,
}
Fields§
§emissive_strength: EmissiveStrengthFactor
The factor by which to scale the emissive factor or emissive texture.
Trait Implementations§
source§impl Clone for EmissiveStrength
impl Clone for EmissiveStrength
source§fn clone(&self) -> EmissiveStrength
fn clone(&self) -> EmissiveStrength
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 EmissiveStrength
impl Debug for EmissiveStrength
source§impl Default for EmissiveStrength
impl Default for EmissiveStrength
source§fn default() -> EmissiveStrength
fn default() -> EmissiveStrength
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EmissiveStrengthwhere
EmissiveStrength: Default,
impl<'de> Deserialize<'de> for EmissiveStrengthwhere
EmissiveStrength: Default,
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 EmissiveStrength
impl Serialize for EmissiveStrength
Auto Trait Implementations§
impl RefUnwindSafe for EmissiveStrength
impl Send for EmissiveStrength
impl Sync for EmissiveStrength
impl Unpin for EmissiveStrength
impl UnwindSafe for EmissiveStrength
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