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