Struct cdp::css::CssStyle [] [src]

pub struct CssStyle<'a> {
    pub style_sheet_id: Option<StyleSheetId<'a>>,
    pub css_properties: Vec<CssProperty<'a>>,
    pub shorthand_entries: Vec<ShorthandEntry<'a>>,
    pub css_text: Option<Cow<'a, str>>,
    pub range: Option<SourceRange>,
}

[Experimental] CSS style representation.

Fields

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

CSS properties in the style.

Computed values for all shorthands found in the style.

Style declaration text (if available).

Style declaration range in the enclosing stylesheet (if available).

Trait Implementations

impl<'a> Clone for CssStyle<'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 CssStyle<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for CssStyle<'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 !=.