Enum petgraph::Direction [−][src]
#[repr(usize)] pub enum Direction { Outgoing, Incoming, }
Edge direction.
Variants
An Outgoing
edge is an outward edge from the current node.
An Incoming
edge is an inbound edge to the current node.
Implementations
impl Direction
[src]
impl Direction
[src]Trait Implementations
impl Clone for Direction
[src]
impl Clone for Direction
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialOrd<Direction> for Direction
[src]
impl PartialOrd<Direction> for Direction
[src]impl Copy for Direction
[src]
impl Eq for Direction
[src]
impl StructuralEq for Direction
[src]
impl StructuralPartialEq for Direction
[src]
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
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,