Struct cdp::css::RuleUsage
[−]
[src]
pub struct RuleUsage<'a> {
pub style_sheet_id: StyleSheetId<'a>,
pub start_offset: f64,
pub end_offset: f64,
pub used: bool,
}[Experimental] CSS coverage information.
Fields
style_sheet_id: StyleSheetId<'a>
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
start_offset: f64
Offset of the start of the rule (including selector) from the beginning of the stylesheet.
end_offset: f64
Offset of the end of the rule body from the beginning of the stylesheet.
used: bool
Indicates whether the rule was actually used by some element in the page.
Trait Implementations
impl<'a> Clone for RuleUsage<'a>[src]
fn clone(&self) -> RuleUsage<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more