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

The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

Offset of the start of the rule (including selector) from the beginning of the stylesheet.

Offset of the end of the rule body from the beginning of the stylesheet.

Indicates whether the rule was actually used by some element in the page.

Trait Implementations

impl<'a> Clone for RuleUsage<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for RuleUsage<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for RuleUsage<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.