#[non_exhaustive]pub enum Insertion {
Vertex(usize),
Duplicate(usize),
}Expand description
What Delaunay3::insert did with a point.
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.
Vertex(usize)
The point became a vertex; its index in Delaunay3::points.
Duplicate(usize)
The point repeats an existing vertex (exactly equal coordinates) and was not inserted again; the existing vertex’s index.
Trait Implementations§
impl Copy for Insertion
impl Eq for Insertion
impl StructuralPartialEq for Insertion
Auto Trait Implementations§
impl Freeze for Insertion
impl RefUnwindSafe for Insertion
impl Send for Insertion
impl Sync for Insertion
impl Unpin for Insertion
impl UnwindSafe for Insertion
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