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