pub enum VertexFormat {
Show 41 variants
Uint8,
Uint8X2,
Uint8X4,
Sint8,
Sint8X2,
Sint8X4,
Unorm8,
Unorm8X2,
Unorm8X4,
Snorm8,
Snorm8X2,
Snorm8X4,
Uint16,
Uint16X2,
Uint16X4,
Sint16,
Sint16X2,
Sint16X4,
Unorm16,
Unorm16X2,
Unorm16X4,
Snorm16,
Snorm16X2,
Snorm16X4,
Float16,
Float16X2,
Float16X4,
Float32,
Float32X2,
Float32X3,
Float32X4,
Uint32,
Uint32X2,
Uint32X3,
Uint32X4,
Sint32,
Sint32X2,
Sint32X3,
Sint32X4,
Unorm1010102,
Unorm8X4Bgra,
}Variants§
Uint8
Uint8X2
Uint8X4
Sint8
Sint8X2
Sint8X4
Unorm8
Unorm8X2
Unorm8X4
Snorm8
Snorm8X2
Snorm8X4
Uint16
Uint16X2
Uint16X4
Sint16
Sint16X2
Sint16X4
Unorm16
Unorm16X2
Unorm16X4
Snorm16
Snorm16X2
Snorm16X4
Float16
Float16X2
Float16X4
Float32
Float32X2
Float32X3
Float32X4
Uint32
Uint32X2
Uint32X3
Uint32X4
Sint32
Sint32X2
Sint32X3
Sint32X4
Unorm1010102
Unorm8X4Bgra
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 moreSource§impl Debug for VertexFormat
impl Debug for VertexFormat
Source§impl From<VertexFormat> for c_uint
impl From<VertexFormat> for c_uint
Source§fn from(value: VertexFormat) -> Self
fn from(value: VertexFormat) -> Self
Converts to this type from the input type.
Source§impl From<u32> for VertexFormat
impl From<u32> for VertexFormat
Source§impl Hash for VertexFormat
impl Hash for VertexFormat
Source§impl PartialEq for VertexFormat
impl PartialEq for VertexFormat
impl Copy for VertexFormat
impl Eq for VertexFormat
impl StructuralPartialEq for VertexFormat
Auto Trait Implementations§
impl Freeze for VertexFormat
impl RefUnwindSafe for VertexFormat
impl Send for VertexFormat
impl Sync for VertexFormat
impl Unpin for VertexFormat
impl UnsafeUnpin 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