Struct cdp::css::CssProperty
[−]
[src]
pub struct CssProperty<'a> {
pub name: Cow<'a, str>,
pub value: Cow<'a, str>,
pub important: Option<bool>,
pub implicit: Option<bool>,
pub text: Option<Cow<'a, str>>,
pub parsed_ok: Option<bool>,
pub disabled: Option<bool>,
pub range: Option<SourceRange>,
}[Experimental] CSS property declaration data.
Fields
name: Cow<'a, str>
The property name.
value: Cow<'a, str>
The property value.
important: Option<bool>
Whether the property has "!important" annotation (implies false if absent).
implicit: Option<bool>
Whether the property is implicit (implies false if absent).
text: Option<Cow<'a, str>>
The full property text as specified in the style.
parsed_ok: Option<bool>
Whether the property is understood by the browser (implies true if absent).
disabled: Option<bool>
Whether the property is disabled by the user (present for source-based properties only).
range: Option<SourceRange>
The entire property range in the enclosing style declaration (if available).
Trait Implementations
impl<'a> Clone for CssProperty<'a>[src]
fn clone(&self) -> CssProperty<'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
impl<'a> Debug for CssProperty<'a>[src]
impl<'a> PartialEq for CssProperty<'a>[src]
fn eq(&self, __arg_0: &CssProperty<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CssProperty<'a>) -> bool[src]
This method tests for !=.