pub struct CoverageReport {
pub spec_name: String,
pub total_nodes: usize,
pub mapped_nodes: usize,
pub exempt_nodes: usize,
pub unmapped_nodes: Vec<String>,
pub artifact_coverages: Vec<ArtifactCoverage>,
pub file_coverages: Vec<FileCoverage>,
}Expand description
Coverage report for a spec.
Fields§
§spec_name: String§total_nodes: usize§mapped_nodes: usize§exempt_nodes: usize§unmapped_nodes: Vec<String>§artifact_coverages: Vec<ArtifactCoverage>§file_coverages: Vec<FileCoverage>Per-file code coverage (code→spec direction).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoverageReport
impl RefUnwindSafe for CoverageReport
impl Send for CoverageReport
impl Sync for CoverageReport
impl Unpin for CoverageReport
impl UnsafeUnpin for CoverageReport
impl UnwindSafe for CoverageReport
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> 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