Enum gltf::accessor::DataType
[−]
[src]
pub enum DataType { I8, U8, I16, U16, U32, F32, }
The component data type.
Variants
I8
Corresponds to GL_BYTE
.
U8
Corresponds to GL_UNSIGNED_BYTE
.
I16
Corresponds to GL_SHORT
.
U16
Corresponds to GL_UNSIGNED_SHORT
.
U32
Corresponds to GL_UNSIGNED_INT
.
F32
Corresponds to GL_FLOAT
.
Methods
impl ComponentType
[src]
Trait Implementations
impl Copy for ComponentType
[src]
impl<'de> Deserialize<'de> for ComponentType
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<ComponentType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
__deserializer: __D
) -> Result<ComponentType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Debug for ComponentType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for ComponentType
[src]
fn clone(&self) -> ComponentType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more