pub struct PseudoElementMatchesBuilder { /* private fields */ }Expand description
Builder for PseudoElementMatches.
Implementations§
Source§impl PseudoElementMatchesBuilder
impl PseudoElementMatchesBuilder
Sourcepub fn pseudo_type<VALUE: Into<PseudoType>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn pseudo_type<VALUE: Into<PseudoType>>( &mut self, value: VALUE, ) -> &mut Self
Pseudo element type.
Sourcepub fn pseudo_identifier<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn pseudo_identifier<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Pseudo element custom ident.
Sourcepub fn matches<VALUE: Into<Vec<RuleMatch>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn matches<VALUE: Into<Vec<RuleMatch>>>( &mut self, value: VALUE, ) -> &mut Self
Matches of CSS rules applicable to the pseudo style.
Sourcepub fn build(
&self,
) -> Result<PseudoElementMatches, PseudoElementMatchesBuilderError>
pub fn build( &self, ) -> Result<PseudoElementMatches, PseudoElementMatchesBuilderError>
Trait Implementations§
Source§impl Clone for PseudoElementMatchesBuilder
impl Clone for PseudoElementMatchesBuilder
Source§fn clone(&self) -> PseudoElementMatchesBuilder
fn clone(&self) -> PseudoElementMatchesBuilder
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 PseudoElementMatchesBuilder
impl RefUnwindSafe for PseudoElementMatchesBuilder
impl Send for PseudoElementMatchesBuilder
impl Sync for PseudoElementMatchesBuilder
impl Unpin for PseudoElementMatchesBuilder
impl UnsafeUnpin for PseudoElementMatchesBuilder
impl UnwindSafe for PseudoElementMatchesBuilder
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