pub enum ConformanceFailure {
ReturnedError {
case: &'static str,
error: HiddenLineError,
},
MissingRefusal {
case: &'static str,
},
WrongRefusalMesh {
case: &'static str,
expected: Option<MeshId>,
actual: Option<MeshId>,
},
WrongLength {
case: &'static str,
kind: EdgeKind,
visibility: Visibility,
expected: f64,
actual: f64,
},
WrongSegmentCount {
case: &'static str,
kind: EdgeKind,
visibility: Visibility,
expected: usize,
actual: usize,
},
WrongEdge {
case: &'static str,
edge: SourceEdge,
expected: Vec<EdgePiece>,
actual: Vec<EdgePiece>,
},
IncorrectEvidence {
case: &'static str,
},
NonDeterministic {
case: &'static str,
},
OrientationDependent {
case: &'static str,
},
}Variants§
ReturnedError
The provider refused a request it must draw, or refused a request that it must refuse with a different error.
MissingRefusal
The provider drew a request it must refuse.
WrongRefusalMesh
The refusal names the wrong mesh, or none.
WrongLength
The total length of the segments of one kind and visibility is wrong.
WrongSegmentCount
The number of segments of one kind and visibility is wrong.
WrongEdge
The pieces of one source edge differ from the expected ones.
IncorrectEvidence
Evidence disagrees with the request, the outcome or the scene.
NonDeterministic
Two identical requests returned different outcomes.
OrientationDependent
Reversing every triangle changed the outcome.
Trait Implementations§
Source§impl Clone for ConformanceFailure
impl Clone for ConformanceFailure
Source§fn clone(&self) -> ConformanceFailure
fn clone(&self) -> ConformanceFailure
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 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 UnsafeUnpin 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