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