#[repr(transparent)]pub struct WGPUTextureFormat(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUTextureFormat
impl WGPUTextureFormat
pub const Undefined: Self = raw::WGPUTextureFormat_WGPUTextureFormat_Undefined
pub const R8Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R8Unorm
pub const R8Snorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R8Snorm
pub const R8Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R8Uint
pub const R8Sint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R8Sint
pub const R16Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R16Uint
pub const R16Sint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R16Sint
pub const R16Float: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R16Float
pub const RG8Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG8Unorm
pub const RG8Snorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG8Snorm
pub const RG8Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG8Uint
pub const RG8Sint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG8Sint
pub const R32Float: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R32Float
pub const R32Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R32Uint
pub const R32Sint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R32Sint
pub const RG16Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG16Uint
pub const RG16Sint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG16Sint
pub const RG16Float: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG16Float
pub const RGBA8Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA8Unorm
pub const RGBA8UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA8UnormSrgb
pub const RGBA8Snorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA8Snorm
pub const RGBA8Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA8Uint
pub const RGBA8Sint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA8Sint
pub const BGRA8Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BGRA8Unorm
pub const BGRA8UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BGRA8UnormSrgb
pub const RGB10A2Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGB10A2Uint
pub const RGB10A2Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGB10A2Unorm
pub const RG11B10Ufloat: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG11B10Ufloat
pub const RGB9E5Ufloat: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGB9E5Ufloat
pub const RG32Float: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG32Float
pub const RG32Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG32Uint
pub const RG32Sint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG32Sint
pub const RGBA16Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA16Uint
pub const RGBA16Sint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA16Sint
pub const RGBA16Float: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA16Float
pub const RGBA32Float: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA32Float
pub const RGBA32Uint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA32Uint
pub const RGBA32Sint: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA32Sint
pub const Stencil8: Self = raw::WGPUTextureFormat_WGPUTextureFormat_Stencil8
pub const Depth16Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_Depth16Unorm
pub const Depth24Plus: Self = raw::WGPUTextureFormat_WGPUTextureFormat_Depth24Plus
pub const Depth24PlusStencil8: Self = raw::WGPUTextureFormat_WGPUTextureFormat_Depth24PlusStencil8
pub const Depth32Float: Self = raw::WGPUTextureFormat_WGPUTextureFormat_Depth32Float
pub const Depth32FloatStencil8: Self = raw::WGPUTextureFormat_WGPUTextureFormat_Depth32FloatStencil8
pub const BC1RGBAUnorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC1RGBAUnorm
pub const BC1RGBAUnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC1RGBAUnormSrgb
pub const BC2RGBAUnorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC2RGBAUnorm
pub const BC2RGBAUnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC2RGBAUnormSrgb
pub const BC3RGBAUnorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC3RGBAUnorm
pub const BC3RGBAUnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC3RGBAUnormSrgb
pub const BC4RUnorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC4RUnorm
pub const BC4RSnorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC4RSnorm
pub const BC5RGUnorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC5RGUnorm
pub const BC5RGSnorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC5RGSnorm
pub const BC6HRGBUfloat: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC6HRGBUfloat
pub const BC6HRGBFloat: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC6HRGBFloat
pub const BC7RGBAUnorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC7RGBAUnorm
pub const BC7RGBAUnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_BC7RGBAUnormSrgb
pub const ETC2RGB8Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ETC2RGB8Unorm
pub const ETC2RGB8UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ETC2RGB8UnormSrgb
pub const ETC2RGB8A1Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ETC2RGB8A1Unorm
pub const ETC2RGB8A1UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ETC2RGB8A1UnormSrgb
pub const ETC2RGBA8Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ETC2RGBA8Unorm
pub const ETC2RGBA8UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ETC2RGBA8UnormSrgb
pub const EACR11Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_EACR11Unorm
pub const EACR11Snorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_EACR11Snorm
pub const EACRG11Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_EACRG11Unorm
pub const EACRG11Snorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_EACRG11Snorm
pub const ASTC4x4Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC4x4Unorm
pub const ASTC4x4UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC4x4UnormSrgb
pub const ASTC5x4Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC5x4Unorm
pub const ASTC5x4UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC5x4UnormSrgb
pub const ASTC5x5Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC5x5Unorm
pub const ASTC5x5UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC5x5UnormSrgb
pub const ASTC6x5Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC6x5Unorm
pub const ASTC6x5UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC6x5UnormSrgb
pub const ASTC6x6Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC6x6Unorm
pub const ASTC6x6UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC6x6UnormSrgb
pub const ASTC8x5Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC8x5Unorm
pub const ASTC8x5UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC8x5UnormSrgb
pub const ASTC8x6Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC8x6Unorm
pub const ASTC8x6UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC8x6UnormSrgb
pub const ASTC8x8Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC8x8Unorm
pub const ASTC8x8UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC8x8UnormSrgb
pub const ASTC10x5Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC10x5Unorm
pub const ASTC10x5UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC10x5UnormSrgb
pub const ASTC10x6Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC10x6Unorm
pub const ASTC10x6UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC10x6UnormSrgb
pub const ASTC10x8Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC10x8Unorm
pub const ASTC10x8UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC10x8UnormSrgb
pub const ASTC10x10Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC10x10Unorm
pub const ASTC10x10UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC10x10UnormSrgb
pub const ASTC12x10Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC12x10Unorm
pub const ASTC12x10UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC12x10UnormSrgb
pub const ASTC12x12Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC12x12Unorm
pub const ASTC12x12UnormSrgb: Self = raw::WGPUTextureFormat_WGPUTextureFormat_ASTC12x12UnormSrgb
pub const R16Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R16Unorm
pub const RG16Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG16Unorm
pub const RGBA16Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA16Unorm
pub const R16Snorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R16Snorm
pub const RG16Snorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RG16Snorm
pub const RGBA16Snorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_RGBA16Snorm
pub const R8BG8Biplanar420Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R8BG8Biplanar420Unorm
pub const R10X6BG10X6Biplanar420Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R10X6BG10X6Biplanar420Unorm
pub const R8BG8A8Triplanar420Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R8BG8A8Triplanar420Unorm
pub const R8BG8Biplanar422Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R8BG8Biplanar422Unorm
pub const R8BG8Biplanar444Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R8BG8Biplanar444Unorm
pub const R10X6BG10X6Biplanar422Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R10X6BG10X6Biplanar422Unorm
pub const R10X6BG10X6Biplanar444Unorm: Self = raw::WGPUTextureFormat_WGPUTextureFormat_R10X6BG10X6Biplanar444Unorm
pub const External: Self = raw::WGPUTextureFormat_WGPUTextureFormat_External
Trait Implementations§
Source§impl Clone for WGPUTextureFormat
impl Clone for WGPUTextureFormat
Source§fn clone(&self) -> WGPUTextureFormat
fn clone(&self) -> WGPUTextureFormat
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 WGPUTextureFormat
impl Debug for WGPUTextureFormat
Source§impl Hash for WGPUTextureFormat
impl Hash for WGPUTextureFormat
Source§impl Ord for WGPUTextureFormat
impl Ord for WGPUTextureFormat
Source§fn cmp(&self, other: &WGPUTextureFormat) -> Ordering
fn cmp(&self, other: &WGPUTextureFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUTextureFormat
impl PartialEq for WGPUTextureFormat
Source§impl PartialOrd for WGPUTextureFormat
impl PartialOrd for WGPUTextureFormat
impl Copy for WGPUTextureFormat
impl Eq for WGPUTextureFormat
impl StructuralPartialEq for WGPUTextureFormat
Auto Trait Implementations§
impl Freeze for WGPUTextureFormat
impl RefUnwindSafe for WGPUTextureFormat
impl Send for WGPUTextureFormat
impl Sync for WGPUTextureFormat
impl Unpin for WGPUTextureFormat
impl UnwindSafe for WGPUTextureFormat
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