Enum gltf::accessor::DataType [−][src]
pub enum DataType {
I8,
U8,
I16,
U16,
U32,
F32,
}Expand description
The component data type.
Variants
Expand description
Corresponds to GL_BYTE.
Expand description
Corresponds to GL_UNSIGNED_BYTE.
Expand description
Corresponds to GL_SHORT.
Expand description
Corresponds to GL_UNSIGNED_SHORT.
Expand description
Corresponds to GL_UNSIGNED_INT.
Expand description
Corresponds to GL_FLOAT.
Implementations
impl ComponentType[src]
impl ComponentType[src]Trait Implementations
impl Clone for ComponentType[src]
impl Clone for ComponentType[src]pub fn clone(&self) -> ComponentType[src]
pub fn clone(&self) -> ComponentType[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for ComponentType[src]
impl Debug for ComponentType[src]impl<'de> Deserialize<'de> for ComponentType[src]
impl<'de> Deserialize<'de> for ComponentType[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ComponentType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ComponentType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<ComponentType> for ComponentType[src]
impl PartialEq<ComponentType> for ComponentType[src]impl Serialize for ComponentType[src]
impl Serialize for ComponentType[src]pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, [src]
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, [src]Serialize this value into the given Serde serializer. Read more
impl Copy for ComponentType[src]
impl Eq for ComponentType[src]
impl StructuralEq for ComponentType[src]
impl StructuralPartialEq for ComponentType[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,