pub struct GraphNode {
pub id: usize,
pub coord: Coord,
pub outgoing: Vec<usize>,
}Expand description
Graph node with coordinate and outgoing directed-edge ids.
Fields§
§id: usizeNode id.
coord: CoordNode coordinate.
outgoing: Vec<usize>Directed edges whose from is this node.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
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