Struct solana_rbpf::static_analysis::TopologicalIndex
source · pub struct TopologicalIndex {
pub scc_id: usize,
pub discovery: usize,
}
Expand description
Used for topological sort
Fields§
§scc_id: usize
Strongly connected component ID
discovery: usize
Discovery order inside a strongly connected component
Trait Implementations§
source§impl Debug for TopologicalIndex
impl Debug for TopologicalIndex
source§impl Default for TopologicalIndex
impl Default for TopologicalIndex
source§impl Ord for TopologicalIndex
impl Ord for TopologicalIndex
source§impl PartialEq for TopologicalIndex
impl PartialEq for TopologicalIndex
source§fn eq(&self, other: &TopologicalIndex) -> bool
fn eq(&self, other: &TopologicalIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TopologicalIndex
impl PartialOrd for TopologicalIndex
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TopologicalIndex
impl StructuralEq for TopologicalIndex
impl StructuralPartialEq for TopologicalIndex
Auto Trait Implementations§
impl RefUnwindSafe for TopologicalIndex
impl Send for TopologicalIndex
impl Sync for TopologicalIndex
impl Unpin for TopologicalIndex
impl UnwindSafe for TopologicalIndex
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