#[repr(transparent)]pub struct TensorDataType(pub Integer);Expand description
Tensor data type.
C++ equivalent: MTL::TensorDataType
Tuple Fields§
§0: IntegerImplementations§
Trait Implementations§
Source§impl Clone for TensorDataType
impl Clone for TensorDataType
Source§fn clone(&self) -> TensorDataType
fn clone(&self) -> TensorDataType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TensorDataType
impl Debug for TensorDataType
Source§impl Default for TensorDataType
impl Default for TensorDataType
Source§fn default() -> TensorDataType
fn default() -> TensorDataType
Returns the “default value” for a type. Read more
Source§impl Hash for TensorDataType
impl Hash for TensorDataType
Source§impl PartialEq for TensorDataType
impl PartialEq for TensorDataType
impl Copy for TensorDataType
impl Eq for TensorDataType
impl StructuralPartialEq for TensorDataType
Auto Trait Implementations§
impl Freeze for TensorDataType
impl RefUnwindSafe for TensorDataType
impl Send for TensorDataType
impl Sync for TensorDataType
impl Unpin for TensorDataType
impl UnwindSafe for TensorDataType
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