pub struct CoverageRecord {
pub path_key: String,
pub line: usize,
pub covered_regions: u32,
pub total_regions: u32,
}Fields§
§path_key: String§line: usize§covered_regions: u32§total_regions: u32Implementations§
Source§impl CoverageRecord
impl CoverageRecord
pub fn coverage_ratio(&self) -> f64
Trait Implementations§
Source§impl Clone for CoverageRecord
impl Clone for CoverageRecord
Source§fn clone(&self) -> CoverageRecord
fn clone(&self) -> CoverageRecord
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CoverageRecord
impl RefUnwindSafe for CoverageRecord
impl Send for CoverageRecord
impl Sync for CoverageRecord
impl Unpin for CoverageRecord
impl UnsafeUnpin for CoverageRecord
impl UnwindSafe for CoverageRecord
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