Enum lightningcss::selector::PseudoClass
source · pub enum PseudoClass<'i> {
Show 48 variants
Lang(Vec<CowArcStr<'i>>),
Dir(Direction),
Hover,
Active,
Focus,
FocusVisible,
FocusWithin,
Current,
Past,
Future,
Playing,
Paused,
Seeking,
Buffering,
Stalled,
Muted,
VolumeLocked,
Fullscreen(VendorPrefix),
Defined,
AnyLink(VendorPrefix),
Link,
LocalLink,
Target,
TargetWithin,
Visited,
Enabled,
Disabled,
ReadOnly(VendorPrefix),
ReadWrite(VendorPrefix),
PlaceholderShown(VendorPrefix),
Default,
Checked,
Indeterminate,
Blank,
Valid,
Invalid,
InRange,
OutOfRange,
Required,
Optional,
UserValid,
UserInvalid,
Autofill(VendorPrefix),
Local(Box<Selector<'i>>),
Global(Box<Selector<'i>>),
WebKitScrollbar(WebKitScrollbarPseudoClass),
Custom(CowArcStr<'i>),
CustomFunction(CowArcStr<'i>, TokenList<'i>),
}
Expand description
A pseudo class.
Variants§
Lang(Vec<CowArcStr<'i>>)
The :lang() pseudo class.
Dir(Direction)
The :dir() pseudo class.
Hover
The :hover pseudo class.
Active
The :active pseudo class.
Focus
The :focus pseudo class.
FocusVisible
The :focus-visible pseudo class.
FocusWithin
The :focus-within pseudo class.
Current
The :current pseudo class.
Past
The :past pseudo class.
Future
The :future pseudo class.
Playing
The :playing pseudo class.
Paused
The :paused pseudo class.
Seeking
The :seeking pseudo class.
Buffering
The :buffering pseudo class.
Stalled
The :stalled pseudo class.
Muted
The :muted pseudo class.
VolumeLocked
The :volume-locked pseudo class.
Fullscreen(VendorPrefix)
The :fullscreen pseudo class.
Defined
The :defined pseudo class.
AnyLink(VendorPrefix)
The :any-link pseudo class.
Link
The :link pseudo class.
LocalLink
The :local-link pseudo class.
Target
The :target pseudo class.
TargetWithin
The :target-within pseudo class.
Visited
The :visited pseudo class.
Enabled
The :enabled pseudo class.
Disabled
The :disabled pseudo class.
ReadOnly(VendorPrefix)
The :read-only pseudo class.
ReadWrite(VendorPrefix)
The :read-write pseudo class.
PlaceholderShown(VendorPrefix)
The :placeholder-shown pseudo class.
Default
The :default pseudo class.
Checked
The :checked pseudo class.
Indeterminate
The :indeterminate pseudo class.
Blank
The :blank pseudo class.
Valid
The :valid pseudo class.
Invalid
The :invalid pseudo class.
InRange
The :in-range pseudo class.
OutOfRange
The :out-of-range pseudo class.
Required
The :required pseudo class.
Optional
The :optional pseudo class.
UserValid
The :user-valid pseudo class.
UserInvalid
The :used-invalid pseudo class.
Autofill(VendorPrefix)
The :autofill pseudo class.
Local(Box<Selector<'i>>)
The CSS modules :local() pseudo class.
Global(Box<Selector<'i>>)
The CSS modules :global() pseudo class.
WebKitScrollbar(WebKitScrollbarPseudoClass)
A webkit scrollbar pseudo class.
Custom(CowArcStr<'i>)
An unknown pseudo class.
CustomFunction(CowArcStr<'i>, TokenList<'i>)
An unknown functional pseudo class.
Trait Implementations§
source§impl<'i> Clone for PseudoClass<'i>
impl<'i> Clone for PseudoClass<'i>
source§fn clone(&self) -> PseudoClass<'i>
fn clone(&self) -> PseudoClass<'i>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more