pub enum PseudoClass {
Show 30 variants
active,
first_child,
focus,
hover,
last_child,
checked,
disabled,
enabled,
in_range,
invalid,
nth_child(i32, i32),
nth_last_child(i32, i32),
nth_of_type(u32),
not(Selector),
only_child,
read_only,
valid,
empty,
default,
defined,
first,
first_of_type,
focus_within,
last_of_type,
link,
optional,
read_write,
required,
visited,
target,
}Variants§
active
first_child
focus
hover
last_child
checked
disabled
enabled
in_range
invalid
nth_child(i32, i32)
nth_last_child(i32, i32)
nth_of_type(u32)
not(Selector)
only_child
read_only
valid
empty
default
defined
first
first_of_type
focus_within
last_of_type
link
optional
read_write
required
visited
target
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 Display for PseudoClass
impl Display for PseudoClass
Source§impl Hash for PseudoClass
impl Hash for PseudoClass
Source§impl PartialEq for PseudoClass
impl PartialEq for PseudoClass
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