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: Option<CssStyle<'a>>
Inline style for the specified DOM node.
attributes_style: Option<CssStyle<'a>>
Attribute-defined element style (e.g. resulting from "width=20 height=100%").
matched_css_rules: Option<Vec<RuleMatch<'a>>>
CSS rules matching this node, from all applicable stylesheets.
pseudo_elements: Option<Vec<PseudoElementMatches<'a>>>
Pseudo style matches for this node.
inherited: Option<Vec<InheritedStyleEntry<'a>>>
A chain of inherited styles (from the immediate node parent up to the DOM tree root).
css_keyframes_rules: Option<Vec<CssKeyframesRule<'a>>>
A list of CSS keyframed animations matching this node.
Trait Implementations
impl<'a> Clone for GetMatchedStylesForNodeResponse<'a>
[src]
fn clone(&self) -> GetMatchedStylesForNodeResponse<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for GetMatchedStylesForNodeResponse<'a>
[src]
impl<'a> PartialEq for GetMatchedStylesForNodeResponse<'a>
[src]
fn eq(&self, __arg_0: &GetMatchedStylesForNodeResponse<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetMatchedStylesForNodeResponse<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for GetMatchedStylesForNodeResponse<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "CSS.getMatchedStylesForNode"