pub struct GetMatchedStylesForNodeReturnObject {Show 13 fields
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 inherited_pseudo_elements: Option<Vec<InheritedPseudoElementMatches>>,
pub css_keyframes_rules: Option<Vec<CSSKeyframesRule>>,
pub css_position_try_rules: Option<Vec<CSSPositionTryRule>>,
pub active_position_fallback_index: Option<JsUInt>,
pub css_property_rules: Option<Vec<CSSPropertyRule>>,
pub css_property_registrations: Option<Vec<CSSPropertyRegistration>>,
pub css_font_palette_values_rule: Option<CSSFontPaletteValuesRule>,
pub parent_layout_node_id: Option<NodeId>,
}
Fields§
§inline_style: Option<CSSStyle>
§attributes_style: Option<CSSStyle>
§matched_css_rules: Option<Vec<RuleMatch>>
§pseudo_elements: Option<Vec<PseudoElementMatches>>
§inherited: Option<Vec<InheritedStyleEntry>>
§inherited_pseudo_elements: Option<Vec<InheritedPseudoElementMatches>>
§css_keyframes_rules: Option<Vec<CSSKeyframesRule>>
§css_position_try_rules: Option<Vec<CSSPositionTryRule>>
§active_position_fallback_index: Option<JsUInt>
§css_property_rules: Option<Vec<CSSPropertyRule>>
§css_property_registrations: Option<Vec<CSSPropertyRegistration>>
§css_font_palette_values_rule: Option<CSSFontPaletteValuesRule>
§parent_layout_node_id: Option<NodeId>
Trait Implementations§
Source§impl Clone for GetMatchedStylesForNodeReturnObject
impl Clone for GetMatchedStylesForNodeReturnObject
Source§fn clone(&self) -> GetMatchedStylesForNodeReturnObject
fn clone(&self) -> GetMatchedStylesForNodeReturnObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for GetMatchedStylesForNodeReturnObject
impl<'de> Deserialize<'de> for GetMatchedStylesForNodeReturnObject
Source§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
Source§impl PartialEq for GetMatchedStylesForNodeReturnObject
impl PartialEq for GetMatchedStylesForNodeReturnObject
Source§fn eq(&self, other: &GetMatchedStylesForNodeReturnObject) -> bool
fn eq(&self, other: &GetMatchedStylesForNodeReturnObject) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetMatchedStylesForNodeReturnObject
Auto Trait Implementations§
impl Freeze for GetMatchedStylesForNodeReturnObject
impl RefUnwindSafe for GetMatchedStylesForNodeReturnObject
impl Send for GetMatchedStylesForNodeReturnObject
impl Sync for GetMatchedStylesForNodeReturnObject
impl Unpin for GetMatchedStylesForNodeReturnObject
impl UnwindSafe for GetMatchedStylesForNodeReturnObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more