Struct gltf_json::extensions::material::IndexOfRefraction
source · pub struct IndexOfRefraction(pub f32);
Expand description
A positive number with default value of 1.5
Tuple Fields§
§0: f32
Trait Implementations§
source§impl Clone for IndexOfRefraction
impl Clone for IndexOfRefraction
source§fn clone(&self) -> IndexOfRefraction
fn clone(&self) -> IndexOfRefraction
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 IndexOfRefraction
impl Debug for IndexOfRefraction
source§impl Default for IndexOfRefraction
impl Default for IndexOfRefraction
source§impl<'de> Deserialize<'de> for IndexOfRefraction
impl<'de> Deserialize<'de> for IndexOfRefraction
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 IndexOfRefraction
impl Serialize for IndexOfRefraction
source§impl Validate for IndexOfRefraction
impl Validate for IndexOfRefraction
impl Copy for IndexOfRefraction
Auto Trait Implementations§
impl RefUnwindSafe for IndexOfRefraction
impl Send for IndexOfRefraction
impl Sync for IndexOfRefraction
impl Unpin for IndexOfRefraction
impl UnwindSafe for IndexOfRefraction
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