pub struct PatchCoverage {
pub covered: u64,
pub uncovered: u64,
}Expand description
Covered / uncovered tally over a set of lines.
Fields§
§covered: u64Lines covered (hit count > 0).
uncovered: u64Lines instrumented but uncovered (hit count == 0).
Implementations§
Trait Implementations§
Source§impl Clone for PatchCoverage
impl Clone for PatchCoverage
Source§fn clone(&self) -> PatchCoverage
fn clone(&self) -> PatchCoverage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PatchCoverage
Source§impl Debug for PatchCoverage
impl Debug for PatchCoverage
Source§impl Default for PatchCoverage
impl Default for PatchCoverage
Source§fn default() -> PatchCoverage
fn default() -> PatchCoverage
Returns the “default value” for a type. Read more
impl Eq for PatchCoverage
Source§impl PartialEq for PatchCoverage
impl PartialEq for PatchCoverage
Source§fn eq(&self, other: &PatchCoverage) -> bool
fn eq(&self, other: &PatchCoverage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchCoverage
Auto Trait Implementations§
impl Freeze for PatchCoverage
impl RefUnwindSafe for PatchCoverage
impl Send for PatchCoverage
impl Sync for PatchCoverage
impl Unpin for PatchCoverage
impl UnsafeUnpin for PatchCoverage
impl UnwindSafe for PatchCoverage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.