pub struct Node<N, Ix = DefaultIx> {
    pub weight: N,
    /* private fields */
}Expand description
The graph’s node type.
Fields§
§weight: NAssociated node data.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<N, Ix> Freeze for Node<N, Ix>
impl<N, Ix> RefUnwindSafe for Node<N, Ix>where
    N: RefUnwindSafe,
    Ix: 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
    N: UnwindSafe,
    Ix: 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