pub struct InheritedStyleEntry<'a> { /* private fields */ }Expand description
Inherited CSS rule collection from ancestor node.
Implementations§
Source§impl<'a> InheritedStyleEntry<'a>
impl<'a> InheritedStyleEntry<'a>
pub fn builder( matchedCSSRules: Vec<RuleMatch<'a>>, ) -> InheritedStyleEntryBuilder<'a>
pub fn inlineStyle(&self) -> Option<&CSSStyle<'a>>
pub fn matchedCSSRules(&self) -> &[RuleMatch<'a>]
Trait Implementations§
Source§impl<'a> Clone for InheritedStyleEntry<'a>
impl<'a> Clone for InheritedStyleEntry<'a>
Source§fn clone(&self) -> InheritedStyleEntry<'a>
fn clone(&self) -> InheritedStyleEntry<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for InheritedStyleEntry<'a>
impl<'a> Debug for InheritedStyleEntry<'a>
Source§impl<'a> Default for InheritedStyleEntry<'a>
impl<'a> Default for InheritedStyleEntry<'a>
Source§fn default() -> InheritedStyleEntry<'a>
fn default() -> InheritedStyleEntry<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for InheritedStyleEntry<'a>
impl<'de, 'a> Deserialize<'de> for InheritedStyleEntry<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for InheritedStyleEntry<'a>
impl<'a> RefUnwindSafe for InheritedStyleEntry<'a>
impl<'a> Send for InheritedStyleEntry<'a>
impl<'a> Sync for InheritedStyleEntry<'a>
impl<'a> Unpin for InheritedStyleEntry<'a>
impl<'a> UnsafeUnpin for InheritedStyleEntry<'a>
impl<'a> UnwindSafe for InheritedStyleEntry<'a>
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