pub enum DiagonalType {
Unit,
NonUnit,
}Expand description
Whether the diagonal is unit (all ones) or general.
Variants§
Unit
Diagonal elements are 1 (not stored/used).
NonUnit
Diagonal elements are general (read from matrix).
Trait Implementations§
Source§impl Clone for DiagonalType
impl Clone for DiagonalType
impl Copy for DiagonalType
Source§impl Debug for DiagonalType
impl Debug for DiagonalType
impl Eq for DiagonalType
Source§impl PartialEq for DiagonalType
impl PartialEq for DiagonalType
impl StructuralPartialEq for DiagonalType
Auto Trait Implementations§
impl Freeze for DiagonalType
impl RefUnwindSafe for DiagonalType
impl Send for DiagonalType
impl Sync for DiagonalType
impl Unpin for DiagonalType
impl UnsafeUnpin for DiagonalType
impl UnwindSafe for DiagonalType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more