pub struct StableGraphNode<N, Ix> {
pub index: NodeIndex<Ix>,
pub weight: N,
}
Fields§
§index: NodeIndex<Ix>
§weight: N
Trait Implementations§
Source§impl<N, Ix> Clone for StableGraphNode<N, Ix>
impl<N, Ix> Clone for StableGraphNode<N, Ix>
Auto Trait Implementations§
impl<N, Ix> Freeze for StableGraphNode<N, Ix>
impl<N, Ix> RefUnwindSafe for StableGraphNode<N, Ix>where
N: RefUnwindSafe,
Ix: RefUnwindSafe,
impl<N, Ix> Send for StableGraphNode<N, Ix>
impl<N, Ix> Sync for StableGraphNode<N, Ix>
impl<N, Ix> Unpin for StableGraphNode<N, Ix>
impl<N, Ix> UnwindSafe for StableGraphNode<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