pub enum PseudoClass {
Show 64 variants
Active(Colon, Ident),
AnyLink(Colon, Ident),
Autofill(Colon, Ident),
Blank(Colon, Ident),
Buffering(Colon, Ident),
Checked(Colon, Ident),
Current(Colon, Ident),
Default(Colon, Ident),
Defined(Colon, Ident),
Disabled(Colon, Ident),
Empty(Colon, Ident),
Enabled(Colon, Ident),
First(Colon, Ident),
FirstChild(Colon, Ident),
FirstOfType(Colon, Ident),
Focus(Colon, Ident),
FocusVisible(Colon, Ident),
FocusWithin(Colon, Ident),
Fullscreen(Colon, Ident),
Future(Colon, Ident),
HasSlotted(Colon, Ident),
Host(Colon, Ident),
Heading(Colon, Ident),
Hover(Colon, Ident),
InRange(Colon, Ident),
Indeterminate(Colon, Ident),
Invalid(Colon, Ident),
LastChild(Colon, Ident),
LastOfType(Colon, Ident),
Left(Colon, Ident),
Link(Colon, Ident),
LocalLink(Colon, Ident),
Modal(Colon, Ident),
Muted(Colon, Ident),
OnlyChild(Colon, Ident),
OnlyOfType(Colon, Ident),
Open(Colon, Ident),
Optional(Colon, Ident),
OutOfRange(Colon, Ident),
Past(Colon, Ident),
Paused(Colon, Ident),
PictureInPicture(Colon, Ident),
PlaceholderShown(Colon, Ident),
Playing(Colon, Ident),
PopoverOpen(Colon, Ident),
ReadOnly(Colon, Ident),
ReadWrite(Colon, Ident),
Required(Colon, Ident),
Right(Colon, Ident),
Root(Colon, Ident),
Scope(Colon, Ident),
Seeking(Colon, Ident),
Stalled(Colon, Ident),
Target(Colon, Ident),
TargetCurrent(Colon, Ident),
TargetWithin(Colon, Ident),
UserInvalid(Colon, Ident),
Valid(Colon, Ident),
Visited(Colon, Ident),
VolumeLocked(Colon, Ident),
Webkit(WebkitPseudoClass),
Moz(MozPseudoClass),
Ms(MsPseudoClass),
O(OPseudoClass),
}Variants§
Active(Colon, Ident)
AnyLink(Colon, Ident)
Autofill(Colon, Ident)
Blank(Colon, Ident)
Buffering(Colon, Ident)
Checked(Colon, Ident)
Current(Colon, Ident)
Default(Colon, Ident)
Defined(Colon, Ident)
Disabled(Colon, Ident)
Empty(Colon, Ident)
Enabled(Colon, Ident)
First(Colon, Ident)
FirstChild(Colon, Ident)
FirstOfType(Colon, Ident)
Focus(Colon, Ident)
FocusVisible(Colon, Ident)
FocusWithin(Colon, Ident)
Fullscreen(Colon, Ident)
Future(Colon, Ident)
HasSlotted(Colon, Ident)
Host(Colon, Ident)
Heading(Colon, Ident)
Hover(Colon, Ident)
InRange(Colon, Ident)
Indeterminate(Colon, Ident)
Invalid(Colon, Ident)
LastChild(Colon, Ident)
LastOfType(Colon, Ident)
Left(Colon, Ident)
Link(Colon, Ident)
LocalLink(Colon, Ident)
Modal(Colon, Ident)
Muted(Colon, Ident)
OnlyChild(Colon, Ident)
OnlyOfType(Colon, Ident)
Open(Colon, Ident)
Optional(Colon, Ident)
OutOfRange(Colon, Ident)
Past(Colon, Ident)
Paused(Colon, Ident)
PictureInPicture(Colon, Ident)
PlaceholderShown(Colon, Ident)
Playing(Colon, Ident)
PopoverOpen(Colon, Ident)
ReadOnly(Colon, Ident)
ReadWrite(Colon, Ident)
Required(Colon, Ident)
Right(Colon, Ident)
Root(Colon, Ident)
Scope(Colon, Ident)
Seeking(Colon, Ident)
Stalled(Colon, Ident)
Target(Colon, Ident)
TargetCurrent(Colon, Ident)
TargetWithin(Colon, Ident)
UserInvalid(Colon, Ident)
Valid(Colon, Ident)
Visited(Colon, Ident)
VolumeLocked(Colon, Ident)
Webkit(WebkitPseudoClass)
Moz(MozPseudoClass)
Ms(MsPseudoClass)
O(OPseudoClass)
Trait Implementations§
Source§impl Clone for PseudoClass
impl Clone for PseudoClass
Source§fn clone(&self) -> PseudoClass
fn clone(&self) -> PseudoClass
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 PseudoClass
impl Debug for PseudoClass
Source§impl Hash for PseudoClass
impl Hash for PseudoClass
Source§impl Ord for PseudoClass
impl Ord for PseudoClass
Source§fn cmp(&self, other: &PseudoClass) -> Ordering
fn cmp(&self, other: &PseudoClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for PseudoClass
impl<'a> Parse<'a> for PseudoClass
Source§impl PartialEq for PseudoClass
impl PartialEq for PseudoClass
Source§impl PartialOrd for PseudoClass
impl PartialOrd for PseudoClass
Source§impl<'a> Peek<'a> for PseudoClass
impl<'a> Peek<'a> for PseudoClass
Source§impl ToCursors for PseudoClass
impl ToCursors for PseudoClass
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for PseudoClass
impl StructuralPartialEq for PseudoClass
Auto Trait Implementations§
impl Freeze for PseudoClass
impl RefUnwindSafe for PseudoClass
impl Send for PseudoClass
impl Sync for PseudoClass
impl Unpin for PseudoClass
impl UnwindSafe for PseudoClass
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