#[repr(transparent)]pub struct MetalAttributeFormat(pub usize);Expand description
Re-exports the Metal framework surface for this item.
Mirrors the Metal framework counterpart for MetalAttributeFormat.
Mirrors the Metal framework counterpart for this type.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for MetalAttributeFormat
impl Clone for MetalAttributeFormat
Source§fn clone(&self) -> MetalAttributeFormat
fn clone(&self) -> MetalAttributeFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetalAttributeFormat
Source§impl Debug for MetalAttributeFormat
impl Debug for MetalAttributeFormat
Source§impl Default for MetalAttributeFormat
impl Default for MetalAttributeFormat
Source§fn default() -> MetalAttributeFormat
fn default() -> MetalAttributeFormat
Returns the “default value” for a type. Read more
impl Eq for MetalAttributeFormat
Source§impl Hash for MetalAttributeFormat
impl Hash for MetalAttributeFormat
Source§impl PartialEq for MetalAttributeFormat
impl PartialEq for MetalAttributeFormat
Source§fn eq(&self, other: &MetalAttributeFormat) -> bool
fn eq(&self, other: &MetalAttributeFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetalAttributeFormat
Auto Trait Implementations§
impl Freeze for MetalAttributeFormat
impl RefUnwindSafe for MetalAttributeFormat
impl Send for MetalAttributeFormat
impl Sync for MetalAttributeFormat
impl Unpin for MetalAttributeFormat
impl UnsafeUnpin for MetalAttributeFormat
impl UnwindSafe for MetalAttributeFormat
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