#[repr(u32)]pub enum SparseFormat {
DENSE = 0,
CSR = 1,
CSC = 2,
COO = 3,
}Expand description
Sparse storage format type
Variants§
DENSE = 0
Dense format
CSR = 1
Compressed sparse row format
CSC = 2
Compressed sparse coloumn format
COO = 3
Coordinate list (row, coloumn, value) tuples.
Trait Implementations§
Source§impl Clone for SparseFormat
impl Clone for SparseFormat
Source§fn clone(&self) -> SparseFormat
fn clone(&self) -> SparseFormat
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 SparseFormat
impl Debug for SparseFormat
Source§impl From<u32> for SparseFormat
impl From<u32> for SparseFormat
Source§impl PartialEq for SparseFormat
impl PartialEq for SparseFormat
impl Copy for SparseFormat
impl StructuralPartialEq for SparseFormat
Auto Trait Implementations§
impl Freeze for SparseFormat
impl RefUnwindSafe for SparseFormat
impl Send for SparseFormat
impl Sync for SparseFormat
impl Unpin for SparseFormat
impl UnwindSafe for SparseFormat
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