pub struct SimpleCycle {
pub vertices: Vec<VertexId>,
pub edges: Vec<u32>,
}Expand description
A single simple cycle found by Johnson’s algorithm.
Fields§
§vertices: Vec<VertexId>Vertex IDs forming the cycle (ordered, not repeated).
edges: Vec<u32>Edge IDs forming the cycle (ordered).
Trait Implementations§
Source§impl Clone for SimpleCycle
impl Clone for SimpleCycle
Source§fn clone(&self) -> SimpleCycle
fn clone(&self) -> SimpleCycle
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 SimpleCycle
impl Debug for SimpleCycle
Source§impl PartialEq for SimpleCycle
impl PartialEq for SimpleCycle
impl Eq for SimpleCycle
impl StructuralPartialEq for SimpleCycle
Auto Trait Implementations§
impl Freeze for SimpleCycle
impl RefUnwindSafe for SimpleCycle
impl Send for SimpleCycle
impl Sync for SimpleCycle
impl Unpin for SimpleCycle
impl UnsafeUnpin for SimpleCycle
impl UnwindSafe for SimpleCycle
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