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