pub struct GetBestEffortCoverageReturns<'a> { /* private fields */ }Expand description
Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
Implementations§
Source§impl<'a> GetBestEffortCoverageReturns<'a>
impl<'a> GetBestEffortCoverageReturns<'a>
Sourcepub fn builder(
result: Vec<ScriptCoverage<'a>>,
) -> GetBestEffortCoverageReturnsBuilder<'a>
pub fn builder( result: Vec<ScriptCoverage<'a>>, ) -> GetBestEffortCoverageReturnsBuilder<'a>
Creates a builder for this type with the required parameters:
result: Coverage data for the current isolate.
Sourcepub fn result(&self) -> &[ScriptCoverage<'a>]
pub fn result(&self) -> &[ScriptCoverage<'a>]
Coverage data for the current isolate.
Trait Implementations§
Source§impl<'a> Clone for GetBestEffortCoverageReturns<'a>
impl<'a> Clone for GetBestEffortCoverageReturns<'a>
Source§fn clone(&self) -> GetBestEffortCoverageReturns<'a>
fn clone(&self) -> GetBestEffortCoverageReturns<'a>
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 moreSource§impl<'a> Debug for GetBestEffortCoverageReturns<'a>
impl<'a> Debug for GetBestEffortCoverageReturns<'a>
Source§impl<'a> Default for GetBestEffortCoverageReturns<'a>
impl<'a> Default for GetBestEffortCoverageReturns<'a>
Source§fn default() -> GetBestEffortCoverageReturns<'a>
fn default() -> GetBestEffortCoverageReturns<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetBestEffortCoverageReturns<'a>
impl<'de, 'a> Deserialize<'de> for GetBestEffortCoverageReturns<'a>
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<'a> Freeze for GetBestEffortCoverageReturns<'a>
impl<'a> RefUnwindSafe for GetBestEffortCoverageReturns<'a>
impl<'a> Send for GetBestEffortCoverageReturns<'a>
impl<'a> Sync for GetBestEffortCoverageReturns<'a>
impl<'a> Unpin for GetBestEffortCoverageReturns<'a>
impl<'a> UnsafeUnpin for GetBestEffortCoverageReturns<'a>
impl<'a> UnwindSafe for GetBestEffortCoverageReturns<'a>
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