Enum cargo_lock::dependency::graph::EdgeDirection
source · pub enum EdgeDirection {
Outgoing,
Incoming,
}
Available on crate feature
dependency-tree
only.Expand description
Edge direction.
Variants§
Outgoing
An Outgoing
edge is an outward edge from the current node.
Incoming
An Incoming
edge is an inbound edge to the current node.
Implementations§
Trait Implementations§
source§impl Ord for Direction
impl Ord for Direction
source§impl PartialEq<Direction> for Direction
impl PartialEq<Direction> for Direction
source§impl PartialOrd<Direction> for Direction
impl PartialOrd<Direction> for Direction
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 Copy for Direction
impl Eq for Direction
impl StructuralEq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.