pub struct PseudoElementMatches {
pub pseudoType: PseudoType,
pub pseudoIdentifier: Option<String>,
pub matches: Vec<RuleMatch>,
}Expand description
CSS rule collection for a single pseudo style.
Fields§
§pseudoType: PseudoTypePseudo element type.
pseudoIdentifier: Option<String>Pseudo element custom ident.
matches: Vec<RuleMatch>Matches of CSS rules applicable to the pseudo style.
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 Default for PseudoElementMatches
impl Default for PseudoElementMatches
Source§fn default() -> PseudoElementMatches
fn default() -> PseudoElementMatches
Returns the “default value” for a type. Read more
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 UnsafeUnpin 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