pub enum EdgeWeight {
Function,
FullMatrix(Vec<usize>),
UpperRow(Vec<usize>),
LowerRow(Vec<usize>),
UpperDiagRow(Vec<usize>),
LowerDiagRow(Vec<usize>),
UpperCol(Vec<usize>),
LowerCol(Vec<usize>),
UpperDiagCol(Vec<usize>),
LowerDiagCol(Vec<usize>),
}
Variants§
Function
FullMatrix(Vec<usize>)
UpperRow(Vec<usize>)
LowerRow(Vec<usize>)
UpperDiagRow(Vec<usize>)
LowerDiagRow(Vec<usize>)
UpperCol(Vec<usize>)
LowerCol(Vec<usize>)
UpperDiagCol(Vec<usize>)
LowerDiagCol(Vec<usize>)
Trait Implementations§
Source§impl Clone for EdgeWeight
impl Clone for EdgeWeight
Source§fn clone(&self) -> EdgeWeight
fn clone(&self) -> EdgeWeight
Returns a copy 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 EdgeWeight
impl Debug for EdgeWeight
Source§impl Ord for EdgeWeight
impl Ord for EdgeWeight
Source§fn cmp(&self, other: &EdgeWeight) -> Ordering
fn cmp(&self, other: &EdgeWeight) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EdgeWeight
impl PartialEq for EdgeWeight
Source§impl PartialOrd for EdgeWeight
impl PartialOrd for EdgeWeight
impl Eq for EdgeWeight
impl StructuralPartialEq for EdgeWeight
Auto Trait Implementations§
impl Freeze for EdgeWeight
impl RefUnwindSafe for EdgeWeight
impl Send for EdgeWeight
impl Sync for EdgeWeight
impl Unpin for EdgeWeight
impl UnwindSafe for EdgeWeight
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