[][src]Enum wgpu::IndexFormat

#[repr(C)]pub enum IndexFormat {
    Uint16,
    Uint32,
}

Format of indices used with pipeline.

Variants

Uint16

Indices are 16 bit unsigned integers.

Uint32

Indices are 32 bit unsigned integers.

Trait Implementations

impl Clone for IndexFormat[src]

impl Copy for IndexFormat[src]

impl Debug for IndexFormat[src]

impl Default for IndexFormat[src]

impl<'de> Deserialize<'de> for IndexFormat[src]

impl Eq for IndexFormat[src]

impl Hash for IndexFormat[src]

impl PartialEq<IndexFormat> for IndexFormat[src]

impl Serialize for IndexFormat[src]

impl StructuralEq for IndexFormat[src]

impl StructuralPartialEq for IndexFormat[src]

Auto Trait Implementations

impl RefUnwindSafe for IndexFormat

impl Send for IndexFormat

impl Sync for IndexFormat

impl Unpin for IndexFormat

impl UnwindSafe for IndexFormat

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.