pub struct CoverageSummary {
pub total_statements: usize,
pub covered_statements: usize,
pub percentage: f64,
}Expand description
覆盖率摘要
Fields§
§total_statements: usize总语句数
covered_statements: usize覆盖的语句数
percentage: f64覆盖率百分比
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoverageSummary
impl RefUnwindSafe for CoverageSummary
impl Send for CoverageSummary
impl Sync for CoverageSummary
impl Unpin for CoverageSummary
impl UnsafeUnpin for CoverageSummary
impl UnwindSafe for CoverageSummary
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