pub struct TopologicalPosition(/* private fields */);
Expand description
A position in the topological order of the graph.
This defines a total order over the set of nodes in the graph.
Note that the positions of all nodes in a graph may not form a contiguous interval.
Trait Implementations§
Source§impl Clone for TopologicalPosition
impl Clone for TopologicalPosition
Source§fn clone(&self) -> TopologicalPosition
fn clone(&self) -> TopologicalPosition
Returns a copy 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 TopologicalPosition
impl Debug for TopologicalPosition
Source§impl Default for TopologicalPosition
impl Default for TopologicalPosition
Source§fn default() -> TopologicalPosition
fn default() -> TopologicalPosition
Returns the “default value” for a type. Read more
Source§impl Ord for TopologicalPosition
impl Ord for TopologicalPosition
Source§fn cmp(&self, other: &TopologicalPosition) -> Ordering
fn cmp(&self, other: &TopologicalPosition) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TopologicalPosition
impl PartialEq for TopologicalPosition
Source§impl PartialOrd for TopologicalPosition
impl PartialOrd for TopologicalPosition
impl Copy for TopologicalPosition
impl Eq for TopologicalPosition
impl StructuralPartialEq for TopologicalPosition
Auto Trait Implementations§
impl Freeze for TopologicalPosition
impl RefUnwindSafe for TopologicalPosition
impl Send for TopologicalPosition
impl Sync for TopologicalPosition
impl Unpin for TopologicalPosition
impl UnwindSafe for TopologicalPosition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.