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

pub struct Node<N, Ix = u32> where Ix: IndexType {
    pub weight: N,
    // some fields omitted
}

The graph's node type.

Fields

Associated node data.

Methods

impl<N, Ix> Node<N, Ix> where Ix: IndexType

Accessor for data structure internals: the first edge in the given direction.

Trait Implementations

impl<N, Ix> Clone for Node<N, Ix> where Ix: IndexType + Clone, N: Clone

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N, Ix> Debug for Node<N, Ix> where Ix: IndexType + Debug, N: Debug

Formats the value using the given formatter.