pub struct Score {
pub percent: f64,
pub covered: u64,
pub total: u64,
pub contributes: bool,
}Expand description
The result of one get_coverage / get_inst_coverage query.
Fields§
§percent: f64The returned coverage number, 0.0 to 100.0.
covered: u64The covered output of the two-argument forms.
total: u64The total output of the two-argument forms.
contributes: boolThe item has a nonzero denominator: it takes part in its parent’s weighted average. Otherwise it is excluded from numerator and denominator alike (19.11).
Trait Implementations§
impl Copy for Score
impl StructuralPartialEq for Score
Auto Trait Implementations§
impl Freeze for Score
impl RefUnwindSafe for Score
impl Send for Score
impl Sync for Score
impl Unpin for Score
impl UnsafeUnpin for Score
impl UnwindSafe for Score
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