Struct gltf_json::material::EmissiveFactor
source · pub struct EmissiveFactor(pub [f32; 3]);
Expand description
The emissive color of a material.
Tuple Fields§
§0: [f32; 3]
Trait Implementations§
source§impl Clone for EmissiveFactor
impl Clone for EmissiveFactor
source§fn clone(&self) -> EmissiveFactor
fn clone(&self) -> EmissiveFactor
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 EmissiveFactor
impl Debug for EmissiveFactor
source§impl Default for EmissiveFactor
impl Default for EmissiveFactor
source§fn default() -> EmissiveFactor
fn default() -> EmissiveFactor
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EmissiveFactor
impl<'de> Deserialize<'de> for EmissiveFactor
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 EmissiveFactor
impl Serialize for EmissiveFactor
source§impl Validate for EmissiveFactor
impl Validate for EmissiveFactor
impl Copy for EmissiveFactor
Auto Trait Implementations§
impl Freeze for EmissiveFactor
impl RefUnwindSafe for EmissiveFactor
impl Send for EmissiveFactor
impl Sync for EmissiveFactor
impl Unpin for EmissiveFactor
impl UnwindSafe for EmissiveFactor
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