pub enum ConformanceFailure {
ReturnedError(String),
EmptyCentralSection,
IncorrectEvidence,
NonDeterministic,
WrongContourCount {
case: &'static str,
expected: usize,
actual: usize,
},
WrongSectionArea {
case: &'static str,
expected: f64,
actual: f64,
},
TangentPlaneHasArea {
case: &'static str,
area: f64,
},
}Variants§
ReturnedError(String)
EmptyCentralSection
IncorrectEvidence
NonDeterministic
WrongContourCount
A section returned the wrong number of closed contours.
WrongSectionArea
A section contour enclosed the wrong area.
TangentPlaneHasArea
A plane tangent to the solid produced interior area instead of touching it.
Trait Implementations§
Source§impl Clone for ConformanceFailure
impl Clone for ConformanceFailure
Source§fn clone(&self) -> ConformanceFailure
fn clone(&self) -> ConformanceFailure
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 ConformanceFailure
impl Debug for ConformanceFailure
Source§impl PartialEq for ConformanceFailure
impl PartialEq for ConformanceFailure
impl StructuralPartialEq for ConformanceFailure
Auto Trait Implementations§
impl Freeze for ConformanceFailure
impl RefUnwindSafe for ConformanceFailure
impl Send for ConformanceFailure
impl Sync for ConformanceFailure
impl Unpin for ConformanceFailure
impl UnwindSafe for ConformanceFailure
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