pub struct FileCoverage {
pub covered_lines: Vec<u32>,
pub missing_lines: Vec<u32>,
pub total_lines: u32,
pub coverage_pct: f64,
}Expand description
Coverage data for a single file (line-level).
Fields§
§covered_lines: Vec<u32>Lines that were executed.
missing_lines: Vec<u32>Lines that were not executed.
total_lines: u32Total executable lines.
coverage_pct: f64Coverage percentage (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for FileCoverage
impl Clone for FileCoverage
Source§fn clone(&self) -> FileCoverage
fn clone(&self) -> FileCoverage
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 FileCoverage
impl Debug for FileCoverage
Source§impl Default for FileCoverage
impl Default for FileCoverage
Source§fn default() -> FileCoverage
fn default() -> FileCoverage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileCoverage
impl RefUnwindSafe for FileCoverage
impl Send for FileCoverage
impl Sync for FileCoverage
impl Unpin for FileCoverage
impl UnsafeUnpin for FileCoverage
impl UnwindSafe for FileCoverage
Blanket Implementations§
impl<T> Allocation for T
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