#[non_exhaustive]pub enum RefineOutcome {
Achieved {
inserted: usize,
},
Capped {
inserted: usize,
worst_angle_degrees: f64,
},
}Expand description
What refinement actually achieved.
Not Eq: the capped variant carries a measured angle, and comparing
floating-point measurements for exact equality is not a meaningful
operation on a quality report.
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.
Achieved
Every unconstrained angle meets the requested bound.
Capped
The budget was exhausted before the bound was met.
The triangulation is valid and constrained-Delaunay; only the angle target is unmet.
Implementations§
Trait Implementations§
Source§impl Clone for RefineOutcome
impl Clone for RefineOutcome
Source§fn clone(&self) -> RefineOutcome
fn clone(&self) -> RefineOutcome
Returns a copy of the value. Read more
1.0.0 · 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 RefineOutcome
impl Debug for RefineOutcome
Source§impl PartialEq for RefineOutcome
impl PartialEq for RefineOutcome
impl Copy for RefineOutcome
impl StructuralPartialEq for RefineOutcome
Auto Trait Implementations§
impl Freeze for RefineOutcome
impl RefUnwindSafe for RefineOutcome
impl Send for RefineOutcome
impl Sync for RefineOutcome
impl Unpin for RefineOutcome
impl UnwindSafe for RefineOutcome
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