#[repr(C)]pub struct FunctionCoverage {
pub listed_lines: u32,
pub executed_lines: u32,
}Expand description
Coverage counts for one function from Coverage reports.
Fields§
§listed_lines: u32The count of the function’s lines listed by a Coverage report.
executed_lines: u32The count of those listed lines executed by tests.
Trait Implementations§
Source§impl Clone for FunctionCoverage
impl Clone for FunctionCoverage
impl Copy for FunctionCoverage
Source§impl Debug for FunctionCoverage
impl Debug for FunctionCoverage
impl Eq for FunctionCoverage
Source§impl PartialEq for FunctionCoverage
impl PartialEq for FunctionCoverage
impl StructuralPartialEq for FunctionCoverage
Auto Trait Implementations§
impl Forget for FunctionCoverage
impl Freeze for FunctionCoverage
impl Move for FunctionCoverage
impl RefUnwindSafe for FunctionCoverage
impl Send for FunctionCoverage
impl Sync for FunctionCoverage
impl Unpin for FunctionCoverage
impl UnsafeUnpin for FunctionCoverage
impl UnwindSafe for FunctionCoverage
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