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