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