Enum matrix::format::compressed::Variant [] [src]

pub enum Variant {
    Column,
    Row,
}

A variant of a compressed matrix.

Variants

Column

The compressed-column variant.

Row

The compressed-row variant.

Methods

impl Variant
[src]

fn flip(&self) -> Self

Return the other variant.

Trait Implementations

Derived Implementations

impl PartialEq for Variant
[src]

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

impl Debug for Variant
[src]

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

Formats the value using the given formatter.

impl Copy for Variant
[src]

impl Clone for Variant
[src]

fn clone(&self) -> Variant

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