pub enum ComponentType {
I8 = 5_120,
U8 = 5_121,
I16 = 5_122,
U16 = 5_123,
U32 = 5_125,
F32 = 5_126,
I32 = 5_124,
F16 = 5_131,
F64 = 5_130,
I64 = 5_134,
U64 = 5_135,
}Expand description
Core accessor component type definitions, including the glTF 2.1 draft.
Variants§
I8 = 5_120
Signed 8-bit integer.
U8 = 5_121
Unsigned 8-bit integer.
I16 = 5_122
Signed 16-bit integer.
U16 = 5_123
Unsigned 16-bit integer.
U32 = 5_125
Unsigned 32-bit integer.
F32 = 5_126
32-bit floating-point value.
I32 = 5_124
Signed 32-bit integer.
F16 = 5_131
16-bit floating-point value from the draft profile.
F64 = 5_130
64-bit floating-point value from the draft profile.
I64 = 5_134
Signed 64-bit integer from the draft profile.
U64 = 5_135
Unsigned 64-bit integer from the draft profile.
Implementations§
Source§impl ComponentType
impl ComponentType
Trait Implementations§
Source§impl Clone for ComponentType
impl Clone for ComponentType
Source§fn clone(&self) -> ComponentType
fn clone(&self) -> ComponentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ComponentType
Source§impl Debug for ComponentType
impl Debug for ComponentType
impl Eq for ComponentType
Source§impl PartialEq for ComponentType
impl PartialEq for ComponentType
impl StructuralPartialEq for ComponentType
Auto Trait Implementations§
impl Freeze for ComponentType
impl RefUnwindSafe for ComponentType
impl Send for ComponentType
impl Sync for ComponentType
impl Unpin for ComponentType
impl UnsafeUnpin for ComponentType
impl UnwindSafe for ComponentType
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