Struct cdp::css::GetMatchedStylesForNodeResponse [] [src]

pub struct GetMatchedStylesForNodeResponse<'a> {
    pub inline_style: Option<CssStyle<'a>>,
    pub attributes_style: Option<CssStyle<'a>>,
    pub matched_css_rules: Option<Vec<RuleMatch<'a>>>,
    pub pseudo_elements: Option<Vec<PseudoElementMatches<'a>>>,
    pub inherited: Option<Vec<InheritedStyleEntry<'a>>>,
    pub css_keyframes_rules: Option<Vec<CssKeyframesRule<'a>>>,
}

[Experimental] Returns requested styles for a DOM node identified by nodeId.

Command CSS.getMatchedStylesForNode

Domain Module: cdp::css
Command Struct: cdp::css::GetMatchedStylesForNodeCommand
Response Struct: cdp::css::GetMatchedStylesForNodeResponse

Fields

Inline style for the specified DOM node.

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

CSS rules matching this node, from all applicable stylesheets.

Pseudo style matches for this node.

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

A list of CSS keyframed animations matching this node.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

impl<'a> CdpCommand for GetMatchedStylesForNodeResponse<'a>
[src]

COMMAND_NAME: &'static str = "CSS.getMatchedStylesForNode"

impl<'a, 'b> HasCdpCommand<'a> for GetMatchedStylesForNodeResponse<'b>
[src]