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