pub struct PseudoElementMatches { /* private fields */ }Available on crate features
experimental and CSS and DOM and Page only.Expand description
CSS rule collection for a single pseudo style.
Implementations§
Source§impl PseudoElementMatches
impl PseudoElementMatches
pub fn new(pseudo_type: PseudoType, matches: Vec<RuleMatch>) -> Self
Sourcepub fn pseudo_type(&self) -> &PseudoType
pub fn pseudo_type(&self) -> &PseudoType
Pseudo element type.
Trait Implementations§
Source§impl Clone for PseudoElementMatches
impl Clone for PseudoElementMatches
Source§fn clone(&self) -> PseudoElementMatches
fn clone(&self) -> PseudoElementMatches
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 Debug for PseudoElementMatches
impl Debug for PseudoElementMatches
Source§impl<'de> Deserialize<'de> for PseudoElementMatches
impl<'de> Deserialize<'de> for PseudoElementMatches
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 Freeze for PseudoElementMatches
impl RefUnwindSafe for PseudoElementMatches
impl Send for PseudoElementMatches
impl Sync for PseudoElementMatches
impl Unpin for PseudoElementMatches
impl UnwindSafe for PseudoElementMatches
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