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
weight: N
Associated node data.
Methods
impl<N, Ix> Node<N, Ix> where Ix: IndexType
fn next_edge(&self, dir: EdgeDirection) -> EdgeIndex<Ix>
Accessor for data structure internals: the first edge in the given direction.
Trait Implementations
Derived Implementations
impl<N, Ix> Clone for Node<N, Ix> where Ix: IndexType + Clone, N: Clone
fn clone(&self) -> Node<N, Ix>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more