Enum petgraph::EdgeDirection [−] [src]

pub enum EdgeDirection {
    Outgoing,
    Incoming,
}

Edge direction

Variants

Outgoing

A Outgoing edge is an outward edge from the current node.

Incoming

An Incoming edge is an inbound edge to the current node.

Trait Implementations

Derived Implementations

impl PartialEq for EdgeDirection

fn eq(&self, __arg_0: &EdgeDirection) -> bool

fn ne(&self, __arg_0: &EdgeDirection) -> bool

impl Debug for EdgeDirection

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for EdgeDirection

fn clone(&self) -> EdgeDirection

fn clone_from(&mut self, source: &Self)

impl Copy for EdgeDirection