pub struct StartPreciseCoverageCommand { /* private fields */ }Available on crate features
Profiler and Runtime and Debugger only.Expand description
Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.
Implementations§
Source§impl StartPreciseCoverageCommand
impl StartPreciseCoverageCommand
pub fn new( call_count: Option<bool>, detailed: Option<bool>, allow_triggered_updates: Option<bool>, ) -> Self
Sourcepub fn call_count(&self) -> Option<&bool>
pub fn call_count(&self) -> Option<&bool>
Collect accurate call counts beyond simple ‘covered’ or ‘not covered’.
Sourcepub fn allow_triggered_updates(&self) -> Option<&bool>
pub fn allow_triggered_updates(&self) -> Option<&bool>
Allow the backend to send updates on its own initiative
Trait Implementations§
Source§impl Clone for StartPreciseCoverageCommand
impl Clone for StartPreciseCoverageCommand
Source§fn clone(&self) -> StartPreciseCoverageCommand
fn clone(&self) -> StartPreciseCoverageCommand
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 StartPreciseCoverageCommand
impl Debug for StartPreciseCoverageCommand
Source§impl<'de> Deserialize<'de> for StartPreciseCoverageCommand
impl<'de> Deserialize<'de> for StartPreciseCoverageCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StartPreciseCoverageCommand
impl RefUnwindSafe for StartPreciseCoverageCommand
impl Send for StartPreciseCoverageCommand
impl Sync for StartPreciseCoverageCommand
impl Unpin for StartPreciseCoverageCommand
impl UnwindSafe for StartPreciseCoverageCommand
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