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

The property name.

The property value.

Whether the property has "!important" annotation (implies false if absent).

Whether the property is implicit (implies false if absent).

The full property text as specified in the style.

Whether the property is understood by the browser (implies true if absent).

Whether the property is disabled by the user (present for source-based properties only).

The entire property range in the enclosing style declaration (if available).

Trait Implementations

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

[src]

Formats the value using the given formatter.

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