#[repr(transparent)]pub struct AttributeFormat(pub UInteger);Expand description
Attribute format for stage input/output attributes.
C++ equivalent: MTL::AttributeFormat
Note: Shares the same values as VertexFormat.
Tuple Fields§
§0: UIntegerImplementations§
Source§impl AttributeFormat
impl AttributeFormat
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 UCHAR2_NORMALIZED: Self
pub const UCHAR3_NORMALIZED: Self
pub const UCHAR4_NORMALIZED: Self
pub const CHAR2_NORMALIZED: Self
pub const CHAR3_NORMALIZED: Self
pub const CHAR4_NORMALIZED: 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 USHORT2_NORMALIZED: Self
pub const USHORT3_NORMALIZED: Self
pub const USHORT4_NORMALIZED: Self
pub const SHORT2_NORMALIZED: Self
pub const SHORT3_NORMALIZED: Self
pub const SHORT4_NORMALIZED: 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 INT1010102_NORMALIZED: Self
pub const UINT1010102_NORMALIZED: Self
pub const UCHAR4_NORMALIZED_BGRA: Self
pub const UCHAR: Self
pub const CHAR: Self
pub const UCHAR_NORMALIZED: Self
pub const CHAR_NORMALIZED: Self
pub const USHORT: Self
pub const SHORT: Self
pub const USHORT_NORMALIZED: Self
pub const SHORT_NORMALIZED: Self
pub const HALF: Self
pub const FLOAT_RG11B10: Self
pub const FLOAT_RGB9E5: Self
Trait Implementations§
Source§impl Clone for AttributeFormat
impl Clone for AttributeFormat
Source§fn clone(&self) -> AttributeFormat
fn clone(&self) -> AttributeFormat
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 AttributeFormat
impl Debug for AttributeFormat
Source§impl Default for AttributeFormat
impl Default for AttributeFormat
Source§fn default() -> AttributeFormat
fn default() -> AttributeFormat
Returns the “default value” for a type. Read more
Source§impl Hash for AttributeFormat
impl Hash for AttributeFormat
Source§impl PartialEq for AttributeFormat
impl PartialEq for AttributeFormat
impl Copy for AttributeFormat
impl Eq for AttributeFormat
impl StructuralPartialEq for AttributeFormat
Auto Trait Implementations§
impl Freeze for AttributeFormat
impl RefUnwindSafe for AttributeFormat
impl Send for AttributeFormat
impl Sync for AttributeFormat
impl Unpin for AttributeFormat
impl UnwindSafe for AttributeFormat
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