pub struct CycleGroup {
pub kind: String,
pub nodes: Vec<NodeId>,
}Expand description
One strongly-connected component with ≥ 2 nodes, plus its classification
("mutual" for a 2-node SCC, "chain" for 3+). Node ids match the level graph.
Fields§
§kind: String§nodes: Vec<NodeId>Trait Implementations§
Source§impl Clone for CycleGroup
impl Clone for CycleGroup
Source§fn clone(&self) -> CycleGroup
fn clone(&self) -> CycleGroup
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 CycleGroup
impl Debug for CycleGroup
Source§impl<'de> Deserialize<'de> for CycleGroup
impl<'de> Deserialize<'de> for CycleGroup
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
Auto Trait Implementations§
impl Freeze for CycleGroup
impl RefUnwindSafe for CycleGroup
impl Send for CycleGroup
impl Sync for CycleGroup
impl Unpin for CycleGroup
impl UnsafeUnpin for CycleGroup
impl UnwindSafe for CycleGroup
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