pub struct LineCoverage {
pub line: usize,
pub hits: usize,
pub covered: bool,
}Expand description
Line-level code coverage information
Fields§
§line: usizeLine number in the source file
hits: usizeNumber of times this line was executed
covered: boolWhether this line is considered covered
Trait Implementations§
Source§impl Clone for LineCoverage
impl Clone for LineCoverage
Source§fn clone(&self) -> LineCoverage
fn clone(&self) -> LineCoverage
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 LineCoverage
impl RefUnwindSafe for LineCoverage
impl Send for LineCoverage
impl Sync for LineCoverage
impl Unpin for LineCoverage
impl UnsafeUnpin for LineCoverage
impl UnwindSafe for LineCoverage
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