pub enum SparseFormat {
CSR,
CSC,
COO,
GraphAdjacency,
}Expand description
Sparse matrix storage formats.
Variants§
CSR
Compressed Sparse Row format - efficient for row-wise operations
CSC
Compressed Sparse Column format - efficient for column-wise operations
COO
Coordinate format - efficient for construction and random access
GraphAdjacency
Graph adjacency list - efficient for graph algorithms
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<'de> Deserialize<'de> for SparseFormat
impl<'de> Deserialize<'de> for SparseFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SparseFormat
impl PartialEq for SparseFormat
Source§impl Serialize for SparseFormat
impl Serialize for SparseFormat
impl Copy for SparseFormat
impl Eq 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