pub struct TensorRank(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for TensorRank
impl Clone for TensorRank
Source§fn clone(&self) -> TensorRank
fn clone(&self) -> TensorRank
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 moreSource§impl Debug for TensorRank
impl Debug for TensorRank
Source§impl Hash for TensorRank
impl Hash for TensorRank
Source§impl Ord for TensorRank
impl Ord for TensorRank
Source§fn cmp(&self, other: &TensorRank) -> Ordering
fn cmp(&self, other: &TensorRank) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TensorRank
impl PartialEq for TensorRank
Source§fn eq(&self, other: &TensorRank) -> bool
fn eq(&self, other: &TensorRank) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TensorRank
impl PartialOrd for TensorRank
impl Copy for TensorRank
impl Eq for TensorRank
impl StructuralPartialEq for TensorRank
Auto Trait Implementations§
impl Freeze for TensorRank
impl RefUnwindSafe for TensorRank
impl Send for TensorRank
impl Sync for TensorRank
impl Unpin for TensorRank
impl UnsafeUnpin for TensorRank
impl UnwindSafe for TensorRank
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