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