#[non_exhaustive]pub enum CirculationNodeKind {
End,
Path,
Junction,
Isolated,
}Expand description
What a skeleton node is, by its number of neighbours.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
End
Where a path ends: one neighbour.
Path
Along a path: two neighbours.
Junction
Where paths meet: three or more.
Isolated
No neighbour: a piece too small to hold a path.
Trait Implementations§
Source§impl Clone for CirculationNodeKind
impl Clone for CirculationNodeKind
impl Copy for CirculationNodeKind
Source§impl Debug for CirculationNodeKind
impl Debug for CirculationNodeKind
impl Eq for CirculationNodeKind
Source§impl PartialEq for CirculationNodeKind
impl PartialEq for CirculationNodeKind
impl StructuralPartialEq for CirculationNodeKind
Auto Trait Implementations§
impl Freeze for CirculationNodeKind
impl RefUnwindSafe for CirculationNodeKind
impl Send for CirculationNodeKind
impl Sync for CirculationNodeKind
impl Unpin for CirculationNodeKind
impl UnsafeUnpin for CirculationNodeKind
impl UnwindSafe for CirculationNodeKind
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