Enum rulinalg::matrix::DiagOffset [] [src]

pub enum DiagOffset {
    Main,
    Above(usize),
    Below(usize),
}

Diagonal offset (used by Diagonal iterator).

Variants

The main diagonal of the matrix.

An offset above the main diagonal.

An offset below the main diagonal.

Trait Implementations

impl Debug for DiagOffset
[src]

Formats the value using the given formatter.

impl PartialEq for DiagOffset
[src]

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

This method tests for !=.

impl From<i8> for DiagOffset
[src]

Performs the conversion.

impl From<i16> for DiagOffset
[src]

Performs the conversion.

impl From<i32> for DiagOffset
[src]

Performs the conversion.

impl From<i64> for DiagOffset
[src]

Performs the conversion.

impl From<isize> for DiagOffset
[src]

Performs the conversion.