pub struct LineCoverage {
pub line_number: usize,
pub count: Option<u32>,
}
Expand description
Coverage information for a single line
Fields§
§line_number: usize
1-indexed line in the source file
count: Option<u32>
execution count of line. None
means this line is not executable.
None
value is used when the fixer detects non-executable line.
Trait Implementations§
Source§impl Clone for LineCoverage
impl Clone for LineCoverage
Source§fn clone(&self) -> LineCoverage
fn clone(&self) -> LineCoverage
Returns a copy 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 moreSource§impl Debug for LineCoverage
impl Debug for LineCoverage
Source§impl PartialEq for LineCoverage
impl PartialEq for LineCoverage
impl StructuralPartialEq for LineCoverage
Auto Trait Implementations§
impl Freeze for LineCoverage
impl RefUnwindSafe for LineCoverage
impl Send for LineCoverage
impl Sync for LineCoverage
impl Unpin 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