pub enum Attribute {
Z,
UvTextureCoordinates,
Rgb,
Rbga,
Alpha,
Normal2D,
Normal3D,
Normal4D,
StrokeWidth,
UserDefined(u8),
}Expand description
A vertex attribute.
Variants§
Z
Z dimension (depth)
UvTextureCoordinates
U,V Texture Coordinates
Rgb
Vertex Gradient
Rbga
Vertex Gradient
Alpha
Vertex Gradient
Normal2D
Normal metadata
Normal3D
Normal metadata
Normal4D
Normal metadata
StrokeWidth
Stroke Width
UserDefined(u8)
User Defined metadata
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more