pub struct Node<N, Ix = DefaultIx> {
pub weight: N,
/* private fields */
}
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> Send for Node<N, Ix>
impl<N, Ix> Sync for Node<N, Ix>
impl<N, Ix> Unpin for Node<N, Ix>
impl<N, Ix> UnwindSafe for Node<N, Ix>where
Ix: UnwindSafe,
N: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more