Struct chrome_remote_interface_model::css::GetMatchedStylesForNodeReturn[][src]

pub struct GetMatchedStylesForNodeReturn { /* fields omitted */ }

Returns requested styles for a DOM node identified by nodeId.

Implementations

impl GetMatchedStylesForNodeReturn[src]

pub fn builder() -> GetMatchedStylesForNodeReturnBuilder[src]

pub fn inline_style(&self) -> Option<&CssStyle>[src]

Inline style for the specified DOM node.

pub fn attributes_style(&self) -> Option<&CssStyle>[src]

Attribute-defined element style (e.g. resulting from "width=20 height=100%").

pub fn matched_css_rules(&self) -> Option<&Vec<RuleMatch>>[src]

CSS rules matching this node, from all applicable stylesheets.

pub fn pseudo_elements(&self) -> Option<&Vec<PseudoElementMatches>>[src]

Pseudo style matches for this node.

pub fn inherited(&self) -> Option<&Vec<InheritedStyleEntry>>[src]

A chain of inherited styles (from the immediate node parent up to the DOM tree root).

pub fn css_keyframes_rules(&self) -> Option<&Vec<CssKeyframesRule>>[src]

A list of CSS keyframed animations matching this node.

Trait Implementations

impl Clone for GetMatchedStylesForNodeReturn[src]

impl Debug for GetMatchedStylesForNodeReturn[src]

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

impl Serialize for GetMatchedStylesForNodeReturn[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.