pub enum NodeKind {
Boundary(VertexId),
EdgeEvent,
SplitEvent,
LimitReached,
}Expand description
What produced a Node.
Variants§
Boundary(VertexId)
A node sitting on the input boundary, at offset 0. There is exactly one of these per input vertex, and it carries that vertex’s id.
EdgeEvent
An interior node, created when the shrinking wavefront collapsed an edge to nothing and two skeleton arcs met.
SplitEvent
An interior node, created when a reflex vertex ran into an opposing wavefront edge and tore the wavefront into two loops.
LimitReached
A node where the wavefront stopped because every incident edge had reached its per-edge distance limit.
Only produced by skeleton_constrained; a plain skeleton never has
these.
Trait Implementations§
impl Copy for NodeKind
Source§impl<'de> Deserialize<'de> for NodeKind
impl<'de> Deserialize<'de> for NodeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NodeKind
impl StructuralPartialEq for NodeKind
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnsafeUnpin for NodeKind
impl UnwindSafe for NodeKind
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