pub struct NegativeCycle { /* private fields */ }Expand description
A negative cycle in the distance graph: the constraints that jointly cannot hold.
Edges are in traversal order: the head of each edge is the tail of the next, and the head of
the last edge is the tail of the first. Summing the edge weights gives Self::weight,
which is strictly negative.
Implementations§
Trait Implementations§
Source§impl Clone for NegativeCycle
impl Clone for NegativeCycle
Source§impl Debug for NegativeCycle
impl Debug for NegativeCycle
impl Eq for NegativeCycle
Source§impl Hash for NegativeCycle
impl Hash for NegativeCycle
Source§impl PartialEq for NegativeCycle
impl PartialEq for NegativeCycle
impl StructuralPartialEq for NegativeCycle
Auto Trait Implementations§
impl Forget for NegativeCycle
impl Freeze for NegativeCycle
impl Move for NegativeCycle
impl RefUnwindSafe for NegativeCycle
impl Send for NegativeCycle
impl Sync for NegativeCycle
impl Unpin for NegativeCycle
impl UnsafeUnpin for NegativeCycle
impl UnwindSafe for NegativeCycle
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