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
Source§fn clone(&self) -> DiagonalType
fn clone(&self) -> DiagonalType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiagonalType
impl Debug for DiagonalType
Source§impl PartialEq for DiagonalType
impl PartialEq for DiagonalType
impl Copy for DiagonalType
impl Eq 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