pub struct StronglyConnectedComponentId {
pub hash: EquivalenceHash,
pub scc_length: i32,
pub scc_index: i32,
}Expand description
Identifies a strongly-connected-component ID for recursive types.
Fields§
§hash: EquivalenceHash14-byte SHA256 of the SCC.
scc_length: i32Component index within the SCC.
scc_index: i32Index of the type in the SCC.
Trait Implementations§
Source§impl Clone for StronglyConnectedComponentId
impl Clone for StronglyConnectedComponentId
Source§fn clone(&self) -> StronglyConnectedComponentId
fn clone(&self) -> StronglyConnectedComponentId
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 moreimpl Copy for StronglyConnectedComponentId
Source§impl Debug for StronglyConnectedComponentId
impl Debug for StronglyConnectedComponentId
impl Eq for StronglyConnectedComponentId
Source§impl PartialEq for StronglyConnectedComponentId
impl PartialEq for StronglyConnectedComponentId
Source§fn eq(&self, other: &StronglyConnectedComponentId) -> bool
fn eq(&self, other: &StronglyConnectedComponentId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StronglyConnectedComponentId
Auto Trait Implementations§
impl Freeze for StronglyConnectedComponentId
impl RefUnwindSafe for StronglyConnectedComponentId
impl Send for StronglyConnectedComponentId
impl Sync for StronglyConnectedComponentId
impl Unpin for StronglyConnectedComponentId
impl UnsafeUnpin for StronglyConnectedComponentId
impl UnwindSafe for StronglyConnectedComponentId
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