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§
Source§impl Clone for CoverageFault
impl Clone for CoverageFault
Source§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 moreSource§impl Debug for CoverageFault
impl Debug for CoverageFault
Source§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