Struct petgraph::graph::Node [−][src]
pub struct Node<N, Ix = DefaultIx> { pub weight: N, // some fields omitted }
Expand description
The graph’s node type.
Fields
weight: N
Associated node data.
Implementations
Trait Implementations
Auto Trait Implementations
impl<N, Ix> RefUnwindSafe for Node<N, Ix> where
Ix: RefUnwindSafe,
N: RefUnwindSafe,
impl<N, Ix> UnwindSafe for Node<N, Ix> where
Ix: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more