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

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

Diagonal offset (used by Diagonal iterator).

Variants

Main

The main diagonal of the matrix.

Above(usize)

An offset above the main diagonal.

Below(usize)

An offset below the main diagonal.

Trait Implementations

impl PartialEq<DiagOffset> for DiagOffset[src]

impl From<i8> for DiagOffset[src]

impl From<i16> for DiagOffset[src]

impl From<i32> for DiagOffset[src]

impl From<i64> for DiagOffset[src]

impl From<isize> for DiagOffset[src]

impl Debug for DiagOffset[src]

Auto Trait Implementations

impl Sync for DiagOffset

impl Send for DiagOffset

impl Unpin for DiagOffset

impl UnwindSafe for DiagOffset

impl RefUnwindSafe for DiagOffset

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]