#[non_exhaustive]pub struct CSSCoverageRule {
pub style_sheet_id: String,
pub start_offset: i64,
pub end_offset: i64,
pub used: bool,
}Expand description
A single CSS rule’s coverage record.
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.style_sheet_id: StringThe owning style sheet id.
start_offset: i64Inclusive start byte offset within the sheet source.
end_offset: i64Exclusive end byte offset within the sheet source.
used: boolWhether the rule was used during the capture.
Trait Implementations§
Source§impl Clone for CSSCoverageRule
impl Clone for CSSCoverageRule
Source§fn clone(&self) -> CSSCoverageRule
fn clone(&self) -> CSSCoverageRule
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 CSSCoverageRule
impl Debug for CSSCoverageRule
Source§impl Default for CSSCoverageRule
impl Default for CSSCoverageRule
Source§fn default() -> CSSCoverageRule
fn default() -> CSSCoverageRule
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CSSCoverageRule
impl RefUnwindSafe for CSSCoverageRule
impl Send for CSSCoverageRule
impl Sync for CSSCoverageRule
impl Unpin for CSSCoverageRule
impl UnsafeUnpin for CSSCoverageRule
impl UnwindSafe for CSSCoverageRule
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