Struct objc2_metal::MTLVertexFormat
source · #[repr(transparent)]pub struct MTLVertexFormat(pub NSUInteger);Available on crate feature
MTLVertexDescriptor only.Tuple Fields§
§0: NSUIntegerImplementations§
source§impl MTLVertexFormat
impl MTLVertexFormat
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 MTLVertexFormat
impl Clone for MTLVertexFormat
source§fn clone(&self) -> MTLVertexFormat
fn clone(&self) -> MTLVertexFormat
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 MTLVertexFormat
impl Debug for MTLVertexFormat
source§impl Encode for MTLVertexFormat
impl Encode for MTLVertexFormat
source§impl Hash for MTLVertexFormat
impl Hash for MTLVertexFormat
source§impl Ord for MTLVertexFormat
impl Ord for MTLVertexFormat
source§fn cmp(&self, other: &MTLVertexFormat) -> Ordering
fn cmp(&self, other: &MTLVertexFormat) -> 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 MTLVertexFormat
impl PartialEq for MTLVertexFormat
source§fn eq(&self, other: &MTLVertexFormat) -> bool
fn eq(&self, other: &MTLVertexFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for MTLVertexFormat
impl PartialOrd for MTLVertexFormat
source§fn partial_cmp(&self, other: &MTLVertexFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &MTLVertexFormat) -> 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 MTLVertexFormat
impl RefEncode for MTLVertexFormat
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 MTLVertexFormat
impl Eq for MTLVertexFormat
impl StructuralPartialEq for MTLVertexFormat
Auto Trait Implementations§
impl Freeze for MTLVertexFormat
impl RefUnwindSafe for MTLVertexFormat
impl Send for MTLVertexFormat
impl Sync for MTLVertexFormat
impl Unpin for MTLVertexFormat
impl UnwindSafe for MTLVertexFormat
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.