pub struct SourceSetCoverageV1 { /* private fields */ }Expand description
Coverage and reason for one independently enumerable source-fact domain.
Implementations§
Source§impl SourceSetCoverageV1
impl SourceSetCoverageV1
Sourcepub const fn partial(reason: SourceUnavailableReasonV1) -> Self
pub const fn partial(reason: SourceUnavailableReasonV1) -> Self
Partial coverage; retained rows prove presence but omissions prove nothing.
Unavailable coverage for a source domain.
Sourcepub const fn state(self) -> SourceSetCoverageStateV1
pub const fn state(self) -> SourceSetCoverageStateV1
Coverage state.
Sourcepub const fn reason(self) -> Option<SourceUnavailableReasonV1>
pub const fn reason(self) -> Option<SourceUnavailableReasonV1>
Stable incompleteness reason, absent only for complete coverage.
Sourcepub const fn proves_absence(self) -> bool
pub const fn proves_absence(self) -> bool
Whether an empty row set proves source absence.
Trait Implementations§
Source§impl Clone for SourceSetCoverageV1
impl Clone for SourceSetCoverageV1
Source§fn clone(&self) -> SourceSetCoverageV1
fn clone(&self) -> SourceSetCoverageV1
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 Copy for SourceSetCoverageV1
Source§impl Debug for SourceSetCoverageV1
impl Debug for SourceSetCoverageV1
impl Eq for SourceSetCoverageV1
Source§impl From<SourceSetCoverageV1> for RawSourceSetCoverageV1
impl From<SourceSetCoverageV1> for RawSourceSetCoverageV1
Source§fn from(value: SourceSetCoverageV1) -> Self
fn from(value: SourceSetCoverageV1) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SourceSetCoverageV1
impl PartialEq for SourceSetCoverageV1
impl StructuralPartialEq for SourceSetCoverageV1
Auto Trait Implementations§
impl Freeze for SourceSetCoverageV1
impl RefUnwindSafe for SourceSetCoverageV1
impl Send for SourceSetCoverageV1
impl Sync for SourceSetCoverageV1
impl Unpin for SourceSetCoverageV1
impl UnsafeUnpin for SourceSetCoverageV1
impl UnwindSafe for SourceSetCoverageV1
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