Struct daggy::petgraph::graph::Edge [] [src]

pub struct Edge<E, Ix = u32> where Ix: IndexType {
    pub weight: E,
    // some fields omitted
}
[]

The graph's edge type.

Fields

[]

Associated edge data.

Methods

impl<E, Ix> Edge<E, Ix> where Ix: IndexType

[]

Accessor for data structure internals: the next edge for the given direction.

[]

Return the source node index.

[]

Return the target node index.

Trait Implementations

impl<E, Ix> Clone for Edge<E, Ix> where E: Clone, Ix: IndexType + Clone

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl<E, Ix> Debug for Edge<E, Ix> where E: Debug, Ix: IndexType + Debug

[]

Formats the value using the given formatter.