Struct chromiumoxide_cdp::cdp::browser_protocol::css::GetMatchedStylesForNodeReturns [−][src]
pub struct GetMatchedStylesForNodeReturns { pub inline_style: Option<CssStyle>, pub attributes_style: Option<CssStyle>, pub matched_css_rules: Option<Vec<RuleMatch>>, pub pseudo_elements: Option<Vec<PseudoElementMatches>>, pub inherited: Option<Vec<InheritedStyleEntry>>, pub css_keyframes_rules: Option<Vec<CssKeyframesRule>>, }
Expand description
Returns requested styles for a DOM node identified by nodeId
.
getMatchedStylesForNode
Fields
inline_style: Option<CssStyle>
Inline style for the specified DOM node.
attributes_style: Option<CssStyle>
Attribute-defined element style (e.g. resulting from “width=20 height=100%”).
matched_css_rules: Option<Vec<RuleMatch>>
CSS rules matching this node, from all applicable stylesheets.
pseudo_elements: Option<Vec<PseudoElementMatches>>
Pseudo style matches for this node.
inherited: Option<Vec<InheritedStyleEntry>>
A chain of inherited styles (from the immediate node parent up to the DOM tree root).
css_keyframes_rules: Option<Vec<CssKeyframesRule>>
A list of CSS keyframed animations matching this node.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for GetMatchedStylesForNodeReturns
impl Sync for GetMatchedStylesForNodeReturns
impl Unpin for GetMatchedStylesForNodeReturns
impl UnwindSafe for GetMatchedStylesForNodeReturns
Blanket Implementations
Mutably borrows from an owned value. Read more