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

pub struct Node<N, Ix = DefaultIx> {
    pub weight: N,
    // some fields omitted

The graph's node type.


Associated node data.


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

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

Trait Implementations

impl<N: Debug, Ix: Debug> Debug for Node<N, Ix>

Formats the value using the given formatter. Read more

impl<E, Ix> Clone for Node<E, Ix> where
    E: Clone,
    Ix: Copy

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<N, Ix> Send for Node<N, Ix> where
    Ix: Send,
    N: Send

impl<N, Ix> Sync for Node<N, Ix> where
    Ix: Sync,
    N: Sync