#[repr(i16)]pub enum CollapseType {
Undefined = 1,
FaceHasInfinitelyFastVertexOpposing = 2,
TriangleCollapse = 3,
ConstraintCollapse = 4,
SpokeCollapse = 5,
SplitOrFlipRefine = 6,
FaceHasInfinitelyFastVertexWeighted = 7,
VertexMovesOverSpoke = 8,
CcwVertexLeavesCh = 9,
InvalidEvent = 10,
Never = 11,
}Expand description
Upstream CollapseType — source order is priority order.
Variants§
Undefined = 1
FaceHasInfinitelyFastVertexOpposing = 2
TriangleCollapse = 3
ConstraintCollapse = 4
SpokeCollapse = 5
SplitOrFlipRefine = 6
FaceHasInfinitelyFastVertexWeighted = 7
VertexMovesOverSpoke = 8
CcwVertexLeavesCh = 9
InvalidEvent = 10
Never = 11
Implementations§
Source§impl CollapseType
impl CollapseType
pub const ALL_COUNTED: [CollapseType; 9]
pub fn requires_relevant_edge(self) -> bool
pub fn requires_secondary_key(self) -> bool
Trait Implementations§
Source§impl Clone for CollapseType
impl Clone for CollapseType
impl Copy for CollapseType
Source§impl Debug for CollapseType
impl Debug for CollapseType
impl Eq for CollapseType
Source§impl Hash for CollapseType
impl Hash for CollapseType
Source§impl Ord for CollapseType
impl Ord for CollapseType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CollapseType
impl PartialEq for CollapseType
Source§impl PartialOrd for CollapseType
impl PartialOrd for CollapseType
impl StructuralPartialEq for CollapseType
Auto Trait Implementations§
impl Freeze for CollapseType
impl RefUnwindSafe for CollapseType
impl Send for CollapseType
impl Sync for CollapseType
impl Unpin for CollapseType
impl UnsafeUnpin for CollapseType
impl UnwindSafe for CollapseType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.