pub struct InheritedStyleEntryBuilder { /* private fields */ }Expand description
Builder for InheritedStyleEntry.
Implementations§
Source§impl InheritedStyleEntryBuilder
impl InheritedStyleEntryBuilder
Sourcepub fn inline_style<VALUE: Into<CssStyle>>(&mut self, value: VALUE) -> &mut Self
pub fn inline_style<VALUE: Into<CssStyle>>(&mut self, value: VALUE) -> &mut Self
The ancestor node’s inline style, if any, in the style inheritance chain.
Sourcepub fn matched_css_rules<VALUE: Into<Vec<RuleMatch>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn matched_css_rules<VALUE: Into<Vec<RuleMatch>>>( &mut self, value: VALUE, ) -> &mut Self
Matches of CSS rules matching the ancestor node in the style inheritance chain.
Sourcepub fn build(
&self,
) -> Result<InheritedStyleEntry, InheritedStyleEntryBuilderError>
pub fn build( &self, ) -> Result<InheritedStyleEntry, InheritedStyleEntryBuilderError>
Trait Implementations§
Source§impl Clone for InheritedStyleEntryBuilder
impl Clone for InheritedStyleEntryBuilder
Source§fn clone(&self) -> InheritedStyleEntryBuilder
fn clone(&self) -> InheritedStyleEntryBuilder
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 moreAuto Trait Implementations§
impl Freeze for InheritedStyleEntryBuilder
impl RefUnwindSafe for InheritedStyleEntryBuilder
impl Send for InheritedStyleEntryBuilder
impl Sync for InheritedStyleEntryBuilder
impl Unpin for InheritedStyleEntryBuilder
impl UnsafeUnpin for InheritedStyleEntryBuilder
impl UnwindSafe for InheritedStyleEntryBuilder
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