#[repr(i32)]pub enum WGPUVertexFormat {
Show 41 variants
Uint8 = 1,
Uint8x2 = 2,
Uint8x4 = 3,
Sint8 = 4,
Sint8x2 = 5,
Sint8x4 = 6,
Unorm8 = 7,
Unorm8x2 = 8,
Unorm8x4 = 9,
Snorm8 = 10,
Snorm8x2 = 11,
Snorm8x4 = 12,
Uint16 = 13,
Uint16x2 = 14,
Uint16x4 = 15,
Sint16 = 16,
Sint16x2 = 17,
Sint16x4 = 18,
Unorm16 = 19,
Unorm16x2 = 20,
Unorm16x4 = 21,
Snorm16 = 22,
Snorm16x2 = 23,
Snorm16x4 = 24,
Float16 = 25,
Float16x2 = 26,
Float16x4 = 27,
Float32 = 28,
Float32x2 = 29,
Float32x3 = 30,
Float32x4 = 31,
Uint32 = 32,
Uint32x2 = 33,
Uint32x3 = 34,
Uint32x4 = 35,
Sint32 = 36,
Sint32x2 = 37,
Sint32x3 = 38,
Sint32x4 = 39,
Unorm10_10_10_2 = 40,
Unorm8x4BGRA = 41,
}Variants§
Uint8 = 1
Uint8x2 = 2
Uint8x4 = 3
Sint8 = 4
Sint8x2 = 5
Sint8x4 = 6
Unorm8 = 7
Unorm8x2 = 8
Unorm8x4 = 9
Snorm8 = 10
Snorm8x2 = 11
Snorm8x4 = 12
Uint16 = 13
Uint16x2 = 14
Uint16x4 = 15
Sint16 = 16
Sint16x2 = 17
Sint16x4 = 18
Unorm16 = 19
Unorm16x2 = 20
Unorm16x4 = 21
Snorm16 = 22
Snorm16x2 = 23
Snorm16x4 = 24
Float16 = 25
Float16x2 = 26
Float16x4 = 27
Float32 = 28
Float32x2 = 29
Float32x3 = 30
Float32x4 = 31
Uint32 = 32
Uint32x2 = 33
Uint32x3 = 34
Uint32x4 = 35
Sint32 = 36
Sint32x2 = 37
Sint32x3 = 38
Sint32x4 = 39
Unorm10_10_10_2 = 40
Unorm8x4BGRA = 41
Implementations§
Trait Implementations§
Source§impl Clone for WGPUVertexFormat
impl Clone for WGPUVertexFormat
Source§fn clone(&self) -> WGPUVertexFormat
fn clone(&self) -> WGPUVertexFormat
Returns a copy 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 WGPUVertexFormat
impl Debug for WGPUVertexFormat
Source§impl Display for WGPUVertexFormat
impl Display for WGPUVertexFormat
Source§impl<'_derivative_strum> From<&'_derivative_strum WGPUVertexFormat> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUVertexFormat> for &'static str
Source§fn from(x: &'_derivative_strum WGPUVertexFormat) -> &'static str
fn from(x: &'_derivative_strum WGPUVertexFormat) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUVertexFormat> for &'static str
impl From<WGPUVertexFormat> for &'static str
Source§fn from(x: WGPUVertexFormat) -> &'static str
fn from(x: WGPUVertexFormat) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WGPUVertexFormat
impl FromStr for WGPUVertexFormat
Source§impl Hash for WGPUVertexFormat
impl Hash for WGPUVertexFormat
Source§impl IntoEnumIterator for WGPUVertexFormat
impl IntoEnumIterator for WGPUVertexFormat
type Iterator = WGPUVertexFormatIter
fn iter() -> WGPUVertexFormatIter ⓘ
Source§impl PartialEq for WGPUVertexFormat
impl PartialEq for WGPUVertexFormat
Source§impl TryFrom<&str> for WGPUVertexFormat
impl TryFrom<&str> for WGPUVertexFormat
impl Copy for WGPUVertexFormat
impl Eq for WGPUVertexFormat
impl StructuralPartialEq for WGPUVertexFormat
Auto Trait Implementations§
impl Freeze for WGPUVertexFormat
impl RefUnwindSafe for WGPUVertexFormat
impl Send for WGPUVertexFormat
impl Sync for WGPUVertexFormat
impl Unpin for WGPUVertexFormat
impl UnwindSafe for WGPUVertexFormat
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