Enum rulinalg::matrix::DiagOffset
source · [−]pub enum DiagOffset {
Main,
Above(usize),
Below(usize),
}
Expand description
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
sourceimpl Debug for DiagOffset
impl Debug for DiagOffset
sourceimpl From<i16> for DiagOffset
impl From<i16> for DiagOffset
sourceimpl From<i32> for DiagOffset
impl From<i32> for DiagOffset
sourceimpl From<i64> for DiagOffset
impl From<i64> for DiagOffset
sourceimpl From<i8> for DiagOffset
impl From<i8> for DiagOffset
sourceimpl From<isize> for DiagOffset
impl From<isize> for DiagOffset
sourceimpl PartialEq<DiagOffset> for DiagOffset
impl PartialEq<DiagOffset> for DiagOffset
sourcefn eq(&self, other: &DiagOffset) -> bool
fn eq(&self, other: &DiagOffset) -> bool
impl StructuralPartialEq for DiagOffset
Auto Trait Implementations
impl RefUnwindSafe for DiagOffset
impl Send for DiagOffset
impl Sync for DiagOffset
impl Unpin for DiagOffset
impl UnwindSafe for DiagOffset
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more