Enum gltf_json::accessor::ComponentType [−][src]
pub enum ComponentType {
I8,
U8,
I16,
U16,
U32,
F32,
}
Expand description
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
.
Implementations
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ComponentType
impl Send for ComponentType
impl Sync for ComponentType
impl Unpin for ComponentType
impl UnwindSafe for ComponentType
Blanket Implementations
Mutably borrows from an owned value. Read more