Enum petgraph::EdgeDirection [] [src]

pub enum EdgeDirection {
    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.

Methods

impl EdgeDirection
[src]

Return the opposite EdgeDirection.

Trait Implementations

impl Copy for EdgeDirection
[src]

impl Debug for EdgeDirection
[src]

Formats the value using the given formatter.

impl PartialEq for EdgeDirection
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for EdgeDirection
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for EdgeDirection
[src]

This method returns an Ordering between self and other. Read more

impl Eq for EdgeDirection
[src]

impl Hash for EdgeDirection
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Clone for EdgeDirection
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more