pub struct ComputedStyleExtraFieldsBuilder { /* private fields */ }Expand description
Builder for ComputedStyleExtraFields.
Implementations§
Source§impl ComputedStyleExtraFieldsBuilder
impl ComputedStyleExtraFieldsBuilder
Sourcepub fn is_appearance_base<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn is_appearance_base<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Returns whether or not this node is being rendered with base appearance, which happens when it has its appearance property set to base/base-select or it is in the subtree of an element being rendered with base appearance.
Sourcepub fn build(
&self,
) -> Result<ComputedStyleExtraFields, ComputedStyleExtraFieldsBuilderError>
pub fn build( &self, ) -> Result<ComputedStyleExtraFields, ComputedStyleExtraFieldsBuilderError>
Trait Implementations§
Source§impl Clone for ComputedStyleExtraFieldsBuilder
impl Clone for ComputedStyleExtraFieldsBuilder
Source§fn clone(&self) -> ComputedStyleExtraFieldsBuilder
fn clone(&self) -> ComputedStyleExtraFieldsBuilder
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 ComputedStyleExtraFieldsBuilder
impl RefUnwindSafe for ComputedStyleExtraFieldsBuilder
impl Send for ComputedStyleExtraFieldsBuilder
impl Sync for ComputedStyleExtraFieldsBuilder
impl Unpin for ComputedStyleExtraFieldsBuilder
impl UnsafeUnpin for ComputedStyleExtraFieldsBuilder
impl UnwindSafe for ComputedStyleExtraFieldsBuilder
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