#[non_exhaustive]pub enum BackendMutationOperation {
SetSimplexDataByKey,
SetVertexDataByKey,
SetVertexData,
SubdivideFace,
RemoveVertex,
FlipEdge,
}Expand description
Backend mutation operation that failed while editing a CDT triangulation.
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.
SetSimplexDataByKey
Write simplex payload by backend simplex key.
SetVertexDataByKey
Write vertex payload by backend vertex key.
SetVertexData
Write vertex payload through a vertex handle.
SubdivideFace
Subdivide a face as part of a local move.
RemoveVertex
Remove a vertex as part of a local move.
FlipEdge
Flip an edge as part of a local move.
Trait Implementations§
Source§impl Clone for BackendMutationOperation
impl Clone for BackendMutationOperation
Source§fn clone(&self) -> BackendMutationOperation
fn clone(&self) -> BackendMutationOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackendMutationOperation
impl Debug for BackendMutationOperation
Source§impl Display for BackendMutationOperation
impl Display for BackendMutationOperation
Source§impl Hash for BackendMutationOperation
impl Hash for BackendMutationOperation
Source§impl PartialEq for BackendMutationOperation
impl PartialEq for BackendMutationOperation
Source§fn eq(&self, other: &BackendMutationOperation) -> bool
fn eq(&self, other: &BackendMutationOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BackendMutationOperation
impl Eq for BackendMutationOperation
impl StructuralPartialEq for BackendMutationOperation
Auto Trait Implementations§
impl Freeze for BackendMutationOperation
impl RefUnwindSafe for BackendMutationOperation
impl Send for BackendMutationOperation
impl Sync for BackendMutationOperation
impl Unpin for BackendMutationOperation
impl UnsafeUnpin for BackendMutationOperation
impl UnwindSafe for BackendMutationOperation
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