#[repr(transparent)]pub struct MTLAttributeFormat(pub NSUInteger);Available on crate feature
MTLStageInputOutputDescriptor only.Expand description
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl MTLAttributeFormat
impl MTLAttributeFormat
pub const Invalid: Self
pub const UChar2: Self
pub const UChar3: Self
pub const UChar4: Self
pub const Char2: Self
pub const Char3: Self
pub const Char4: Self
pub const UChar2Normalized: Self
pub const UChar3Normalized: Self
pub const UChar4Normalized: Self
pub const Char2Normalized: Self
pub const Char3Normalized: Self
pub const Char4Normalized: Self
pub const UShort2: Self
pub const UShort3: Self
pub const UShort4: Self
pub const Short2: Self
pub const Short3: Self
pub const Short4: Self
pub const UShort2Normalized: Self
pub const UShort3Normalized: Self
pub const UShort4Normalized: Self
pub const Short2Normalized: Self
pub const Short3Normalized: Self
pub const Short4Normalized: Self
pub const Half2: Self
pub const Half3: Self
pub const Half4: Self
pub const Float: Self
pub const Float2: Self
pub const Float3: Self
pub const Float4: Self
pub const Int: Self
pub const Int2: Self
pub const Int3: Self
pub const Int4: Self
pub const UInt: Self
pub const UInt2: Self
pub const UInt3: Self
pub const UInt4: Self
pub const Int1010102Normalized: Self
pub const UInt1010102Normalized: Self
pub const UChar4Normalized_BGRA: Self
pub const UChar: Self
pub const Char: Self
pub const UCharNormalized: Self
pub const CharNormalized: Self
pub const UShort: Self
pub const Short: Self
pub const UShortNormalized: Self
pub const ShortNormalized: Self
pub const Half: Self
pub const FloatRG11B10: Self
pub const FloatRGB9E5: Self
Trait Implementations§
Source§impl Clone for MTLAttributeFormat
impl Clone for MTLAttributeFormat
Source§fn clone(&self) -> MTLAttributeFormat
fn clone(&self) -> MTLAttributeFormat
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 MTLAttributeFormat
impl Debug for MTLAttributeFormat
Source§impl Encode for MTLAttributeFormat
impl Encode for MTLAttributeFormat
Source§impl Hash for MTLAttributeFormat
impl Hash for MTLAttributeFormat
Source§impl Ord for MTLAttributeFormat
impl Ord for MTLAttributeFormat
Source§fn cmp(&self, other: &MTLAttributeFormat) -> Ordering
fn cmp(&self, other: &MTLAttributeFormat) -> 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 MTLAttributeFormat
impl PartialEq for MTLAttributeFormat
Source§impl PartialOrd for MTLAttributeFormat
impl PartialOrd for MTLAttributeFormat
Source§impl RefEncode for MTLAttributeFormat
impl RefEncode for MTLAttributeFormat
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 MTLAttributeFormat
impl Eq for MTLAttributeFormat
impl StructuralPartialEq for MTLAttributeFormat
Auto Trait Implementations§
impl Freeze for MTLAttributeFormat
impl RefUnwindSafe for MTLAttributeFormat
impl Send for MTLAttributeFormat
impl Sync for MTLAttributeFormat
impl Unpin for MTLAttributeFormat
impl UnwindSafe for MTLAttributeFormat
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.