Struct chrome_remote_interface_model::css::GetMatchedStylesForNodeReturnBuilder[][src]

pub struct GetMatchedStylesForNodeReturnBuilder { /* fields omitted */ }

Implementations

impl GetMatchedStylesForNodeReturnBuilder[src]

pub fn inline_style(&mut self, v: CssStyle) -> &mut Self[src]

Inline style for the specified DOM node.

pub fn attributes_style(&mut self, v: CssStyle) -> &mut Self[src]

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

pub fn matched_css_rules(&mut self, v: Vec<RuleMatch>) -> &mut Self[src]

CSS rules matching this node, from all applicable stylesheets.

pub fn pseudo_elements(&mut self, v: Vec<PseudoElementMatches>) -> &mut Self[src]

Pseudo style matches for this node.

pub fn inherited(&mut self, v: Vec<InheritedStyleEntry>) -> &mut Self[src]

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

pub fn css_keyframes_rules(&mut self, v: Vec<CssKeyframesRule>) -> &mut Self[src]

A list of CSS keyframed animations matching this node.

pub fn build(&mut self) -> Result<GetMatchedStylesForNodeReturn, &'static str>[src]

Trait Implementations

impl Clone for GetMatchedStylesForNodeReturnBuilder[src]

impl Debug for GetMatchedStylesForNodeReturnBuilder[src]

impl Default for GetMatchedStylesForNodeReturnBuilder[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> 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.