pub enum WeightedGraphError {
InvalidNodeIndex,
InvalidWeight,
}Variants§
Trait Implementations§
Source§impl Clone for WeightedGraphError
impl Clone for WeightedGraphError
Source§fn clone(&self) -> WeightedGraphError
fn clone(&self) -> WeightedGraphError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WeightedGraphError
impl Debug for WeightedGraphError
Source§impl PartialEq for WeightedGraphError
impl PartialEq for WeightedGraphError
Source§fn eq(&self, other: &WeightedGraphError) -> bool
fn eq(&self, other: &WeightedGraphError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WeightedGraphError
impl Eq for WeightedGraphError
impl StructuralPartialEq for WeightedGraphError
Auto Trait Implementations§
impl Freeze for WeightedGraphError
impl RefUnwindSafe for WeightedGraphError
impl Send for WeightedGraphError
impl Sync for WeightedGraphError
impl Unpin for WeightedGraphError
impl UnsafeUnpin for WeightedGraphError
impl UnwindSafe for WeightedGraphError
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