Struct TensorRank
pub struct TensorRank(/* private fields */);Implementations§
§impl TensorRank
impl TensorRank
pub fn new(value: usize) -> Result<TensorRank, TensorShapeError>
pub const fn get(self) -> usize
Trait Implementations§
§impl Clone for TensorRank
impl Clone for TensorRank
§fn clone(&self) -> TensorRank
fn clone(&self) -> TensorRank
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 more§impl Debug for TensorRank
impl Debug for TensorRank
§impl Hash for TensorRank
impl Hash for TensorRank
§impl Ord for TensorRank
impl Ord for TensorRank
§impl PartialEq for TensorRank
impl PartialEq for TensorRank
§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