Struct gltf_json::material::PbrBaseColorFactor
source · pub struct PbrBaseColorFactor(pub [f32; 4]);
Expand description
The base color factor of a material.
Tuple Fields§
§0: [f32; 4]
Trait Implementations§
source§impl Clone for PbrBaseColorFactor
impl Clone for PbrBaseColorFactor
source§fn clone(&self) -> PbrBaseColorFactor
fn clone(&self) -> PbrBaseColorFactor
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 PbrBaseColorFactor
impl Debug for PbrBaseColorFactor
source§impl Default for PbrBaseColorFactor
impl Default for PbrBaseColorFactor
source§impl<'de> Deserialize<'de> for PbrBaseColorFactor
impl<'de> Deserialize<'de> for PbrBaseColorFactor
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 PbrBaseColorFactor
impl Serialize for PbrBaseColorFactor
source§impl Validate for PbrBaseColorFactor
impl Validate for PbrBaseColorFactor
impl Copy for PbrBaseColorFactor
Auto Trait Implementations§
impl Freeze for PbrBaseColorFactor
impl RefUnwindSafe for PbrBaseColorFactor
impl Send for PbrBaseColorFactor
impl Sync for PbrBaseColorFactor
impl Unpin for PbrBaseColorFactor
impl UnwindSafe for PbrBaseColorFactor
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