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