#[non_exhaustive]pub struct JSCoverageRange {
pub start_offset: i64,
pub end_offset: i64,
pub call_count: i64,
}Expand description
A covered byte range inside a JS function.
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.start_offset: i64Inclusive start byte offset within the script source.
end_offset: i64Exclusive end byte offset within the script source.
call_count: i64Number of times this range was executed.
Trait Implementations§
Source§impl Clone for JSCoverageRange
impl Clone for JSCoverageRange
Source§fn clone(&self) -> JSCoverageRange
fn clone(&self) -> JSCoverageRange
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 JSCoverageRange
impl Debug for JSCoverageRange
Source§impl Default for JSCoverageRange
impl Default for JSCoverageRange
Source§fn default() -> JSCoverageRange
fn default() -> JSCoverageRange
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JSCoverageRange
impl RefUnwindSafe for JSCoverageRange
impl Send for JSCoverageRange
impl Sync for JSCoverageRange
impl Unpin for JSCoverageRange
impl UnsafeUnpin for JSCoverageRange
impl UnwindSafe for JSCoverageRange
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