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
style_sheet_id: Option<StyleSheetId<'a>>
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
css_properties: Vec<CssProperty<'a>>
CSS properties in the style.
shorthand_entries: Vec<ShorthandEntry<'a>>
Computed values for all shorthands found in the style.
css_text: Option<Cow<'a, str>>
Style declaration text (if available).
range: Option<SourceRange>
Style declaration range in the enclosing stylesheet (if available).
Trait Implementations
impl<'a> Clone for CssStyle<'a>
[src]
fn clone(&self) -> CssStyle<'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