#[non_exhaustive]pub struct JSCoverageResult {
pub entries: Vec<JSCoverageEntry>,
}Expand description
The result of Coverage::stop_js_coverage: one entry per script.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entries: Vec<JSCoverageEntry>One entry per covered script.
Trait Implementations§
Source§impl Clone for JSCoverageResult
impl Clone for JSCoverageResult
Source§fn clone(&self) -> JSCoverageResult
fn clone(&self) -> JSCoverageResult
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 Debug for JSCoverageResult
impl Debug for JSCoverageResult
Source§impl Default for JSCoverageResult
impl Default for JSCoverageResult
Source§fn default() -> JSCoverageResult
fn default() -> JSCoverageResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JSCoverageResult
impl RefUnwindSafe for JSCoverageResult
impl Send for JSCoverageResult
impl Sync for JSCoverageResult
impl Unpin for JSCoverageResult
impl UnsafeUnpin for JSCoverageResult
impl UnwindSafe for JSCoverageResult
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