Enum sprs::sparse::csmat::CompressedStorage [] [src]

pub enum CompressedStorage {
    CSR,
    CSC,
}

Describe the storage of a CsMat

Variants

CSR

Compressed row storage

CSC

Compressed column storage

Methods

impl CompressedStorage
[src]

fn other_storage(&self) -> CompressedStorage

Get the other storage, ie return CSC if we were CSR, and vice versa

Trait Implementations

impl Debug for CompressedStorage
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for CompressedStorage
[src]

impl PartialEq for CompressedStorage
[src]

fn eq(&self, __arg_0: &CompressedStorage) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Copy for CompressedStorage
[src]

impl Clone for CompressedStorage
[src]

fn clone(&self) -> CompressedStorage

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more