pub struct CoverageConfig {
pub call_count: bool,
pub detailed: bool,
pub allow_triggered_updates: bool,
}Expand description
Coverage configuration
Fields§
§call_count: boolInclude call counts for each function
detailed: boolInclude detailed range information
allow_triggered_updates: boolAllow coverage to be collected multiple times
Implementations§
Source§impl CoverageConfig
impl CoverageConfig
Sourcepub const fn with_call_count(self, enabled: bool) -> Self
pub const fn with_call_count(self, enabled: bool) -> Self
Enable call count tracking
Sourcepub const fn with_detailed(self, enabled: bool) -> Self
pub const fn with_detailed(self, enabled: bool) -> Self
Enable detailed range information
Trait Implementations§
Source§impl Clone for CoverageConfig
impl Clone for CoverageConfig
Source§fn clone(&self) -> CoverageConfig
fn clone(&self) -> CoverageConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoverageConfig
impl Debug for CoverageConfig
Auto Trait Implementations§
impl Freeze for CoverageConfig
impl RefUnwindSafe for CoverageConfig
impl Send for CoverageConfig
impl Sync for CoverageConfig
impl Unpin for CoverageConfig
impl UnsafeUnpin for CoverageConfig
impl UnwindSafe for CoverageConfig
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