pub struct Node {
pub pos: Point,
pub prev: usize,
pub next: usize,
}
Expand description
A linked-list node, with usize references to a backing array.
Fields§
§pos: Point
Position of the node’s vertex.
prev: usize
A reference to the previous vertex at the end of a connected edge.
next: usize
A reference to the next vertex at the end of a connected edge.
Trait Implementations§
impl Copy for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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