Struct objc2_metal::MTLPixelFormat
source · #[repr(transparent)]pub struct MTLPixelFormat(pub NSUInteger);Available on crate feature
MTLPixelFormat only.Tuple Fields§
§0: NSUIntegerImplementations§
source§impl MTLPixelFormat
impl MTLPixelFormat
pub const Invalid: Self = _
pub const A8Unorm: Self = _
pub const R8Unorm: Self = _
pub const R8Unorm_sRGB: Self = _
pub const R8Snorm: Self = _
pub const R8Uint: Self = _
pub const R8Sint: Self = _
pub const R16Unorm: Self = _
pub const R16Snorm: Self = _
pub const R16Uint: Self = _
pub const R16Sint: Self = _
pub const R16Float: Self = _
pub const RG8Unorm: Self = _
pub const RG8Unorm_sRGB: Self = _
pub const RG8Snorm: Self = _
pub const RG8Uint: Self = _
pub const RG8Sint: Self = _
pub const B5G6R5Unorm: Self = _
pub const A1BGR5Unorm: Self = _
pub const ABGR4Unorm: Self = _
pub const BGR5A1Unorm: Self = _
pub const R32Uint: Self = _
pub const R32Sint: Self = _
pub const R32Float: Self = _
pub const RG16Unorm: Self = _
pub const RG16Snorm: Self = _
pub const RG16Uint: Self = _
pub const RG16Sint: Self = _
pub const RG16Float: Self = _
pub const RGBA8Unorm: Self = _
pub const RGBA8Unorm_sRGB: Self = _
pub const RGBA8Snorm: Self = _
pub const RGBA8Uint: Self = _
pub const RGBA8Sint: Self = _
pub const BGRA8Unorm: Self = _
pub const BGRA8Unorm_sRGB: Self = _
pub const RGB10A2Unorm: Self = _
pub const RGB10A2Uint: Self = _
pub const RG11B10Float: Self = _
pub const RGB9E5Float: Self = _
pub const BGR10A2Unorm: Self = _
pub const BGR10_XR: Self = _
pub const BGR10_XR_sRGB: Self = _
pub const RG32Uint: Self = _
pub const RG32Sint: Self = _
pub const RG32Float: Self = _
pub const RGBA16Unorm: Self = _
pub const RGBA16Snorm: Self = _
pub const RGBA16Uint: Self = _
pub const RGBA16Sint: Self = _
pub const RGBA16Float: Self = _
pub const BGRA10_XR: Self = _
pub const BGRA10_XR_sRGB: Self = _
pub const RGBA32Uint: Self = _
pub const RGBA32Sint: Self = _
pub const RGBA32Float: Self = _
pub const BC1_RGBA: Self = _
pub const BC1_RGBA_sRGB: Self = _
pub const BC2_RGBA: Self = _
pub const BC2_RGBA_sRGB: Self = _
pub const BC3_RGBA: Self = _
pub const BC3_RGBA_sRGB: Self = _
pub const BC4_RUnorm: Self = _
pub const BC4_RSnorm: Self = _
pub const BC5_RGUnorm: Self = _
pub const BC5_RGSnorm: Self = _
pub const BC6H_RGBFloat: Self = _
pub const BC6H_RGBUfloat: Self = _
pub const BC7_RGBAUnorm: Self = _
pub const BC7_RGBAUnorm_sRGB: Self = _
pub const PVRTC_RGB_2BPP: Self = _
pub const PVRTC_RGB_2BPP_sRGB: Self = _
pub const PVRTC_RGB_4BPP: Self = _
pub const PVRTC_RGB_4BPP_sRGB: Self = _
pub const PVRTC_RGBA_2BPP: Self = _
pub const PVRTC_RGBA_2BPP_sRGB: Self = _
pub const PVRTC_RGBA_4BPP: Self = _
pub const PVRTC_RGBA_4BPP_sRGB: Self = _
pub const EAC_R11Unorm: Self = _
pub const EAC_R11Snorm: Self = _
pub const EAC_RG11Unorm: Self = _
pub const EAC_RG11Snorm: Self = _
pub const EAC_RGBA8: Self = _
pub const EAC_RGBA8_sRGB: Self = _
pub const ETC2_RGB8: Self = _
pub const ETC2_RGB8_sRGB: Self = _
pub const ETC2_RGB8A1: Self = _
pub const ETC2_RGB8A1_sRGB: Self = _
pub const ASTC_4x4_sRGB: Self = _
pub const ASTC_5x4_sRGB: Self = _
pub const ASTC_5x5_sRGB: Self = _
pub const ASTC_6x5_sRGB: Self = _
pub const ASTC_6x6_sRGB: Self = _
pub const ASTC_8x5_sRGB: Self = _
pub const ASTC_8x6_sRGB: Self = _
pub const ASTC_8x8_sRGB: Self = _
pub const ASTC_10x5_sRGB: Self = _
pub const ASTC_10x6_sRGB: Self = _
pub const ASTC_10x8_sRGB: Self = _
pub const ASTC_10x10_sRGB: Self = _
pub const ASTC_12x10_sRGB: Self = _
pub const ASTC_12x12_sRGB: Self = _
pub const ASTC_4x4_LDR: Self = _
pub const ASTC_5x4_LDR: Self = _
pub const ASTC_5x5_LDR: Self = _
pub const ASTC_6x5_LDR: Self = _
pub const ASTC_6x6_LDR: Self = _
pub const ASTC_8x5_LDR: Self = _
pub const ASTC_8x6_LDR: Self = _
pub const ASTC_8x8_LDR: Self = _
pub const ASTC_10x5_LDR: Self = _
pub const ASTC_10x6_LDR: Self = _
pub const ASTC_10x8_LDR: Self = _
pub const ASTC_10x10_LDR: Self = _
pub const ASTC_12x10_LDR: Self = _
pub const ASTC_12x12_LDR: Self = _
pub const ASTC_4x4_HDR: Self = _
pub const ASTC_5x4_HDR: Self = _
pub const ASTC_5x5_HDR: Self = _
pub const ASTC_6x5_HDR: Self = _
pub const ASTC_6x6_HDR: Self = _
pub const ASTC_8x5_HDR: Self = _
pub const ASTC_8x6_HDR: Self = _
pub const ASTC_8x8_HDR: Self = _
pub const ASTC_10x5_HDR: Self = _
pub const ASTC_10x6_HDR: Self = _
pub const ASTC_10x8_HDR: Self = _
pub const ASTC_10x10_HDR: Self = _
pub const ASTC_12x10_HDR: Self = _
pub const ASTC_12x12_HDR: Self = _
pub const GBGR422: Self = _
pub const BGRG422: Self = _
pub const Depth16Unorm: Self = _
pub const Depth32Float: Self = _
pub const Stencil8: Self = _
pub const Depth24Unorm_Stencil8: Self = _
pub const Depth32Float_Stencil8: Self = _
pub const X32_Stencil8: Self = _
pub const X24_Stencil8: Self = _
Trait Implementations§
source§impl Clone for MTLPixelFormat
impl Clone for MTLPixelFormat
source§fn clone(&self) -> MTLPixelFormat
fn clone(&self) -> MTLPixelFormat
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 MTLPixelFormat
impl Debug for MTLPixelFormat
source§impl Encode for MTLPixelFormat
impl Encode for MTLPixelFormat
source§impl Hash for MTLPixelFormat
impl Hash for MTLPixelFormat
source§impl Ord for MTLPixelFormat
impl Ord for MTLPixelFormat
source§fn cmp(&self, other: &MTLPixelFormat) -> Ordering
fn cmp(&self, other: &MTLPixelFormat) -> 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 MTLPixelFormat
impl PartialEq for MTLPixelFormat
source§fn eq(&self, other: &MTLPixelFormat) -> bool
fn eq(&self, other: &MTLPixelFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for MTLPixelFormat
impl PartialOrd for MTLPixelFormat
source§fn partial_cmp(&self, other: &MTLPixelFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &MTLPixelFormat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl RefEncode for MTLPixelFormat
impl RefEncode for MTLPixelFormat
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLPixelFormat
impl Eq for MTLPixelFormat
impl StructuralPartialEq for MTLPixelFormat
Auto Trait Implementations§
impl Freeze for MTLPixelFormat
impl RefUnwindSafe for MTLPixelFormat
impl Send for MTLPixelFormat
impl Sync for MTLPixelFormat
impl Unpin for MTLPixelFormat
impl UnwindSafe for MTLPixelFormat
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.