pub enum VertexFormat {
Show 27 variants
Byte,
Byte2,
Byte3,
Byte4,
SByte,
SByte2,
SByte3,
SByte4,
Short,
Short2,
Short3,
Short4,
Int,
Int2,
Int3,
Int4,
UInt,
UInt2,
UInt3,
UInt4,
Float,
Float2,
Float3,
Float4,
Float2x2,
Float3x3,
Float4x4,
}
Expand description
VertexAttributeDesc
Variants§
Byte
Byte2
Byte3
Byte4
SByte
SByte2
SByte3
SByte4
Short
Short2
Short3
Short4
Int
Int2
Int3
Int4
UInt
UInt2
UInt3
UInt4
Float
Float2
Float3
Float4
Float2x2
Float3x3
Float4x4
Trait Implementations§
Source§impl Clone for VertexFormat
impl Clone for VertexFormat
Source§fn clone(&self) -> VertexFormat
fn clone(&self) -> VertexFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VertexFormat
impl RefUnwindSafe for VertexFormat
impl Send for VertexFormat
impl Sync for VertexFormat
impl Unpin for VertexFormat
impl UnwindSafe for VertexFormat
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