Struct chrome_remote_interface_model::css::GetInlineStylesForNodeReturn[][src]

pub struct GetInlineStylesForNodeReturn { /* fields omitted */ }

Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM attributes) for a DOM node identified by nodeId.

Implementations

impl GetInlineStylesForNodeReturn[src]

pub fn new(
    inline_style: Option<CssStyle>,
    attributes_style: Option<CssStyle>
) -> Self
[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%").

Trait Implementations

impl Clone for GetInlineStylesForNodeReturn[src]

impl Debug for GetInlineStylesForNodeReturn[src]

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

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