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