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