Enum CoverageFault
pub enum CoverageFault {
Gap,
Overlap,
DepthOverflow,
}Expand description
Why a set of regions failed to account for the whole domain.
Variants§
Gap
The leaves cover less than the root box: geometry was dropped.
This is the failure that silently loses an intersection, so it is reported as a fault rather than tolerated.
Overlap
The leaves cover more than the root box: a region was emitted twice or a parent was kept alongside its children.
DepthOverflow
A leaf is deeper than the audit can represent exactly.
Reported instead of silently saturating, because a saturated sum could mask a real gap.
Trait Implementations§
§impl Clone for CoverageFault
impl Clone for CoverageFault
§fn clone(&self) -> CoverageFault
fn clone(&self) -> CoverageFault
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 more§impl Debug for CoverageFault
impl Debug for CoverageFault
§impl PartialEq for CoverageFault
impl PartialEq for CoverageFault
impl Copy for CoverageFault
impl Eq for CoverageFault
impl StructuralPartialEq for CoverageFault
Auto Trait Implementations§
impl Freeze for CoverageFault
impl RefUnwindSafe for CoverageFault
impl Send for CoverageFault
impl Sync for CoverageFault
impl Unpin for CoverageFault
impl UnwindSafe for CoverageFault
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more