[][src]Enum wgpu_types::VertexFormat

#[repr(C)]pub enum VertexFormat {
    Uchar2,
    Uchar4,
    Char2,
    Char4,
    Uchar2Norm,
    Uchar4Norm,
    Char2Norm,
    Char4Norm,
    Ushort2,
    Ushort4,
    Short2,
    Short4,
    Ushort2Norm,
    Ushort4Norm,
    Short2Norm,
    Short4Norm,
    Half2,
    Half4,
    Float,
    Float2,
    Float3,
    Float4,
    Uint,
    Uint2,
    Uint3,
    Uint4,
    Int,
    Int2,
    Int3,
    Int4,
}

Variants

Uchar2
Uchar4
Char2
Char4
Uchar2Norm
Uchar4Norm
Char2Norm
Char4Norm
Ushort2
Ushort4
Short2
Short4
Ushort2Norm
Ushort4Norm
Short2Norm
Short4Norm
Half2
Half4
Float
Float2
Float3
Float4
Uint
Uint2
Uint3
Uint4
Int
Int2
Int3
Int4

Trait Implementations

impl Clone for VertexFormat[src]

impl Copy for VertexFormat[src]

impl Debug for VertexFormat[src]

impl Eq for VertexFormat[src]

impl Hash for VertexFormat[src]

impl PartialEq<VertexFormat> for VertexFormat[src]

impl Serialize for VertexFormat[src]

impl StructuralEq for VertexFormat[src]

impl StructuralPartialEq for VertexFormat[src]

Auto Trait Implementations

impl RefUnwindSafe for VertexFormat

impl Send for VertexFormat

impl Sync for VertexFormat

impl Unpin for VertexFormat

impl UnwindSafe for VertexFormat

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.