pub struct Cycle {
pub node_ids: Vec<NodeId>,
pub edge_ids: Vec<EdgeId>,
}Expand description
One canonical simple cycle. The first node is not repeated at the end.
Fields§
§node_ids: Vec<NodeId>Canonically rotated node sequence.
edge_ids: Vec<EdgeId>One representative edge per adjacent node pair, including the closing edge from the last node to the first.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cycle
impl<'de> Deserialize<'de> for Cycle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Cycle
impl StructuralPartialEq for Cycle
Auto Trait Implementations§
impl Freeze for Cycle
impl RefUnwindSafe for Cycle
impl Send for Cycle
impl Sync for Cycle
impl Unpin for Cycle
impl UnsafeUnpin for Cycle
impl UnwindSafe for Cycle
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