#[repr(transparent)]pub struct MTLVertexFormat(pub NSUInteger);Available on crate feature
MTLVertexDescriptor only.Expand description
specifies how the vertex attribute data is laid out in memory.
See also Apple’s documentation
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 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 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§impl PartialOrd for MTLVertexFormat
impl PartialOrd for MTLVertexFormat
Source§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> 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.