Struct gltf_json::accessor::GenericComponentType
source · pub struct GenericComponentType(pub ComponentType);
Expand description
The data type of a generic vertex attribute.
Tuple Fields§
§0: ComponentType
Trait Implementations§
source§impl Clone for GenericComponentType
impl Clone for GenericComponentType
source§fn clone(&self) -> GenericComponentType
fn clone(&self) -> GenericComponentType
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 GenericComponentType
impl Debug for GenericComponentType
source§impl<'de> Deserialize<'de> for GenericComponentType
impl<'de> Deserialize<'de> for GenericComponentType
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 GenericComponentType
impl Serialize for GenericComponentType
impl Copy for GenericComponentType
Auto Trait Implementations§
impl Freeze for GenericComponentType
impl RefUnwindSafe for GenericComponentType
impl Send for GenericComponentType
impl Sync for GenericComponentType
impl Unpin for GenericComponentType
impl UnwindSafe for GenericComponentType
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