Struct gltf_json::extensions::material::ThicknessFactor
source · pub struct ThicknessFactor(pub f32);
Expand description
A number in the inclusive range [0.0, +inf] with a default value of 0.0.
Tuple Fields§
§0: f32
Trait Implementations§
source§impl Clone for ThicknessFactor
impl Clone for ThicknessFactor
source§fn clone(&self) -> ThicknessFactor
fn clone(&self) -> ThicknessFactor
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 ThicknessFactor
impl Debug for ThicknessFactor
source§impl Default for ThicknessFactor
impl Default for ThicknessFactor
source§impl<'de> Deserialize<'de> for ThicknessFactor
impl<'de> Deserialize<'de> for ThicknessFactor
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 ThicknessFactor
impl Serialize for ThicknessFactor
source§impl Validate for ThicknessFactor
impl Validate for ThicknessFactor
impl Copy for ThicknessFactor
Auto Trait Implementations§
impl RefUnwindSafe for ThicknessFactor
impl Send for ThicknessFactor
impl Sync for ThicknessFactor
impl Unpin for ThicknessFactor
impl UnwindSafe for ThicknessFactor
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