pub struct ShadowCoverage { /* private fields */ }Expand description
Coverage recorded alongside every compared result.
Implementations§
Source§impl ShadowCoverage
impl ShadowCoverage
Sourcepub const fn compared(&self) -> &BTreeSet<ShadowDimension>
pub const fn compared(&self) -> &BTreeSet<ShadowDimension>
Return dimensions actually compared by this implementation.
Sourcepub const fn covered(&self) -> &BTreeSet<ShadowDimension>
pub const fn covered(&self) -> &BTreeSet<ShadowDimension>
Compatibility spelling for Self::compared.
Sourcepub const fn unimplemented(&self) -> &BTreeSet<ShadowDimension>
pub const fn unimplemented(&self) -> &BTreeSet<ShadowDimension>
Return representable dimensions not yet compared by this implementation.
Sourcepub const fn not_representable(&self) -> &BTreeSet<ShadowDimension>
pub const fn not_representable(&self) -> &BTreeSet<ShadowDimension>
Return dimensions that the frozen V1 model cannot faithfully represent.
Sourcepub const fn blind_spots(&self) -> &BTreeSet<ShadowDimension>
pub const fn blind_spots(&self) -> &BTreeSet<ShadowDimension>
Return the union of unimplemented and unrepresentable dimensions.
Sourcepub fn state(&self, dimension: ShadowDimension) -> ShadowCoverageState
pub fn state(&self, dimension: ShadowDimension) -> ShadowCoverageState
Return the explicit coverage state for one known dimension.
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Report whether all known dimensions are compared.
Trait Implementations§
Source§impl Clone for ShadowCoverage
impl Clone for ShadowCoverage
Source§fn clone(&self) -> ShadowCoverage
fn clone(&self) -> ShadowCoverage
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 ShadowCoverage
impl Debug for ShadowCoverage
impl Eq for ShadowCoverage
Source§impl PartialEq for ShadowCoverage
impl PartialEq for ShadowCoverage
impl StructuralPartialEq for ShadowCoverage
Auto Trait Implementations§
impl Freeze for ShadowCoverage
impl RefUnwindSafe for ShadowCoverage
impl Send for ShadowCoverage
impl Sync for ShadowCoverage
impl Unpin for ShadowCoverage
impl UnsafeUnpin for ShadowCoverage
impl UnwindSafe for ShadowCoverage
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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