Enum matrix::compressed::Format [] [src]

pub enum Format {
    Column,
    Row,
}

A format of a compressed matrix.

Variants

Column

The compressed-column format.

Row

The compressed-row format.

Methods

impl Format
[src]

fn flip(&self) -> Self

Return the other format.

Trait Implementations

impl PartialEq for Format
[src]

fn eq(&self, __arg_0: &Format) -> 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 Eq for Format
[src]

impl Debug for Format
[src]

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

Formats the value using the given formatter.

impl Copy for Format
[src]

impl Clone for Format
[src]

fn clone(&self) -> Format

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