#[repr(C)]pub struct GraphNode<N: Copy + Default + 'static> {
pub value: N,
pub first_out_edge: u32,
pub n_out_edges: u32,
}Fields§
§value: N§first_out_edge: u32§n_out_edges: u32Trait Implementations§
impl<N: Copy + Copy + Default + 'static> Copy for GraphNode<N>
Auto Trait Implementations§
impl<N> Freeze for GraphNode<N>where
N: Freeze,
impl<N> RefUnwindSafe for GraphNode<N>where
N: RefUnwindSafe,
impl<N> Send for GraphNode<N>where
N: Send,
impl<N> Sync for GraphNode<N>where
N: Sync,
impl<N> Unpin for GraphNode<N>where
N: Unpin,
impl<N> UnsafeUnpin for GraphNode<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for GraphNode<N>where
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