Struct chrome_remote_interface_model::css::CssProperty[][src]

pub struct CssProperty { /* fields omitted */ }

CSS property declaration data.

Implementations

impl CssProperty[src]

pub fn builder() -> CssPropertyBuilder[src]

pub fn name(&self) -> &str[src]

The property name.

pub fn value(&self) -> &str[src]

The property value.

pub fn important(&self) -> Option<&bool>[src]

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

pub fn implicit(&self) -> Option<&bool>[src]

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

pub fn text(&self) -> Option<&String>[src]

The full property text as specified in the style.

pub fn parsed_ok(&self) -> Option<&bool>[src]

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

pub fn disabled(&self) -> Option<&bool>[src]

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

pub fn range(&self) -> Option<&SourceRange>[src]

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

Trait Implementations

impl Clone for CssProperty[src]

impl Debug for CssProperty[src]

impl<'de> Deserialize<'de> for CssProperty[src]

impl Serialize for CssProperty[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.