#[non_exhaustive]pub enum PerspectiveConformanceFailure {
HiddenLinesBase(ConformanceFailure),
VisibleFacesBase(FaceConformanceFailure),
UnclaimedButDrawn {
operation: &'static str,
},
UnclaimedWrongRefusal {
operation: &'static str,
error: HiddenLineError,
},
HiddenLines(ConformanceFailure),
ClaimUnverifiable {
operation: &'static str,
},
}Expand description
One failure of the perspective suite.
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.
HiddenLinesBase(ConformanceFailure)
The provider fails the hidden-line suite. Reported by a registry that
runs both suites, never by PerspectiveConformanceSuite itself.
VisibleFacesBase(FaceConformanceFailure)
The provider fails the visible-face suite; see
HiddenLinesBase.
UnclaimedButDrawn
The provider does not claim perspective but drew a valid perspective request, which it would have to ignore the projection to do.
UnclaimedWrongRefusal
The provider does not claim perspective and refused a valid
perspective request with something other than Unsupported or
UnsupportedInput, which a registry would not fall back past.
Fields
§
error: HiddenLineErrorThe refusal.
HiddenLines(ConformanceFailure)
A hidden-line provider that claims perspective failed a perspective fixture; the failure names the fixture.
ClaimUnverifiable
The provider claims perspective, which this suite cannot verify.
Trait Implementations§
Source§impl Clone for PerspectiveConformanceFailure
impl Clone for PerspectiveConformanceFailure
Source§fn clone(&self) -> PerspectiveConformanceFailure
fn clone(&self) -> PerspectiveConformanceFailure
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 StructuralPartialEq for PerspectiveConformanceFailure
Auto Trait Implementations§
impl Freeze for PerspectiveConformanceFailure
impl RefUnwindSafe for PerspectiveConformanceFailure
impl Send for PerspectiveConformanceFailure
impl Sync for PerspectiveConformanceFailure
impl Unpin for PerspectiveConformanceFailure
impl UnsafeUnpin for PerspectiveConformanceFailure
impl UnwindSafe for PerspectiveConformanceFailure
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