[][src]Enum wgpu::TextureFormat

#[repr(C)]
pub enum TextureFormat { R8Unorm, R8UnormSrgb, R8Snorm, R8Uint, R8Sint, R16Unorm, R16Snorm, R16Uint, R16Sint, R16Float, Rg8Unorm, Rg8UnormSrgb, Rg8Snorm, Rg8Uint, Rg8Sint, B5g6r5Unorm, R32Uint, R32Sint, R32Float, Rg16Unorm, Rg16Snorm, Rg16Uint, Rg16Sint, Rg16Float, Rgba8Unorm, Rgba8UnormSrgb, Rgba8Snorm, Rgba8Uint, Rgba8Sint, Bgra8Unorm, Bgra8UnormSrgb, Rgb10a2Unorm, Rg11b10Float, Rg32Uint, Rg32Sint, Rg32Float, Rgba16Unorm, Rgba16Snorm, Rgba16Uint, Rgba16Sint, Rgba16Float, Rgba32Uint, Rgba32Sint, Rgba32Float, D16Unorm, D32Float, D24UnormS8Uint, D32FloatS8Uint, }

Variants

R8UnormR8UnormSrgbR8SnormR8UintR8SintR16UnormR16SnormR16UintR16SintR16FloatRg8UnormRg8UnormSrgbRg8SnormRg8UintRg8SintB5g6r5UnormR32UintR32SintR32FloatRg16UnormRg16SnormRg16UintRg16SintRg16FloatRgba8UnormRgba8UnormSrgbRgba8SnormRgba8UintRgba8SintBgra8UnormBgra8UnormSrgbRgb10a2UnormRg11b10FloatRg32UintRg32SintRg32FloatRgba16UnormRgba16SnormRgba16UintRgba16SintRgba16FloatRgba32UintRgba32SintRgba32FloatD16UnormD32FloatD24UnormS8UintD32FloatS8Uint

Trait Implementations

impl PartialEq<TextureFormat> for TextureFormat[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Hash for TextureFormat[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for TextureFormat[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TextureFormat[src]

impl Copy for TextureFormat[src]

impl Eq for TextureFormat[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> Supports for T

impl<T> Erased for T