Enum gltf::Semantic [−][src]
pub enum Semantic {
Extras(String),
Positions,
Normals,
Tangents,
Colors(u32),
TexCoords(u32),
Joints(u32),
Weights(u32),
}Expand description
Vertex attribute semantic name.
Variants
Extras(String)Expand description
Extra attribute name.
Expand description
XYZ vertex positions.
Expand description
XYZ vertex normals.
Expand description
XYZW vertex tangents where the w component is a sign value indicating the
handedness of the tangent basis.
Colors(u32)Expand description
RGB or RGBA vertex color.
TexCoords(u32)Expand description
UV texture co-ordinates.
Joints(u32)Expand description
Joint indices.
Weights(u32)Expand description
Joint weights.
Trait Implementations
impl Serialize for Semantic[src]
impl Serialize for Semantic[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 Eq for Semantic[src]
impl StructuralEq for Semantic[src]
impl StructuralPartialEq for Semantic[src]
Auto Trait Implementations
impl RefUnwindSafe for Semantic
impl Send for Semantic
impl Sync for Semantic
impl Unpin for Semantic
impl UnwindSafe for Semantic
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