#[non_exhaustive]pub enum DeviationBound {
Proven(Scalar),
Certified(Scalar),
Unbounded(&'static str),
}Expand description
A bound on how far the exact surface may lie from the mesh.
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.
Proven(Scalar)
Guaranteed by the construction’s own proof, without inspecting the mesh (#231): typically the chord budget itself.
Certified(Scalar)
Computed for this mesh from certified derivative bounds and exact distances (#232).
Unbounded(&'static str)
No certified bound exists for this path; the reason names it.
Implementations§
Trait Implementations§
Source§impl Clone for DeviationBound
impl Clone for DeviationBound
Source§fn clone(&self) -> DeviationBound
fn clone(&self) -> DeviationBound
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 moreimpl Copy for DeviationBound
Source§impl Debug for DeviationBound
impl Debug for DeviationBound
Source§impl PartialEq for DeviationBound
impl PartialEq for DeviationBound
impl StructuralPartialEq for DeviationBound
Auto Trait Implementations§
impl Freeze for DeviationBound
impl RefUnwindSafe for DeviationBound
impl Send for DeviationBound
impl Sync for DeviationBound
impl Unpin for DeviationBound
impl UnsafeUnpin for DeviationBound
impl UnwindSafe for DeviationBound
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