pub struct CoverageMetadata {
pub counter: u64,
}Expand description
Stable metadata used to associate execution with a coverage counter.
Fields§
§counter: u64Stable counter identity assigned by the preparing consumer.
Trait Implementations§
Source§impl Clone for CoverageMetadata
impl Clone for CoverageMetadata
Source§fn clone(&self) -> CoverageMetadata
fn clone(&self) -> CoverageMetadata
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 CoverageMetadata
Source§impl Debug for CoverageMetadata
impl Debug for CoverageMetadata
impl Eq for CoverageMetadata
Source§impl Hash for CoverageMetadata
impl Hash for CoverageMetadata
Source§impl Ord for CoverageMetadata
impl Ord for CoverageMetadata
Source§fn cmp(&self, other: &CoverageMetadata) -> Ordering
fn cmp(&self, other: &CoverageMetadata) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CoverageMetadata
impl PartialEq for CoverageMetadata
Source§impl PartialOrd for CoverageMetadata
impl PartialOrd for CoverageMetadata
impl StructuralPartialEq for CoverageMetadata
Auto Trait Implementations§
impl Freeze for CoverageMetadata
impl RefUnwindSafe for CoverageMetadata
impl Send for CoverageMetadata
impl Sync for CoverageMetadata
impl Unpin for CoverageMetadata
impl UnsafeUnpin for CoverageMetadata
impl UnwindSafe for CoverageMetadata
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