pub struct Vertex {
pub point: PointId,
pub inputs: Vec<PointId>,
pub crossing: Option<Crossing>,
}Expand description
A point of the arrangement.
Fields§
§point: PointIdAn exact point at this position.
inputs: Vec<PointId>The input points joined here, ascending; empty for a crossing.
crossing: Option<Crossing>For a vertex without input points, the crossing that created it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vertex
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnsafeUnpin for Vertex
impl UnwindSafe for Vertex
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