pub struct SparseMatrixShape {
pub rows: usize,
pub cols: usize,
pub nonzero_count: usize,
}Fields§
§rows: usize§cols: usize§nonzero_count: usizeTrait Implementations§
Source§impl Clone for SparseMatrixShape
impl Clone for SparseMatrixShape
Source§fn clone(&self) -> SparseMatrixShape
fn clone(&self) -> SparseMatrixShape
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 SparseMatrixShape
Source§impl Debug for SparseMatrixShape
impl Debug for SparseMatrixShape
impl Eq for SparseMatrixShape
Source§impl PartialEq for SparseMatrixShape
impl PartialEq for SparseMatrixShape
Source§fn eq(&self, other: &SparseMatrixShape) -> bool
fn eq(&self, other: &SparseMatrixShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SparseMatrixShape
Auto Trait Implementations§
impl Freeze for SparseMatrixShape
impl RefUnwindSafe for SparseMatrixShape
impl Send for SparseMatrixShape
impl Sync for SparseMatrixShape
impl Unpin for SparseMatrixShape
impl UnsafeUnpin for SparseMatrixShape
impl UnwindSafe for SparseMatrixShape
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