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