#[repr(C)]pub enum PseudoStateType {
Normal = 0,
Hover = 1,
Active = 2,
Focus = 3,
Disabled = 4,
Checked = 5,
FocusWithin = 6,
Visited = 7,
}Variants§
Normal = 0
No special state (corresponds to “Normal” in NodeDataInlineCssProperty)
Hover = 1
Element is being hovered (:hover)
Active = 2
Element is active/being clicked (:active)
Focus = 3
Element has focus (:focus)
Disabled = 4
Element is disabled (:disabled)
Checked = 5
Element is checked/selected (:checked)
FocusWithin = 6
Element or child has focus (:focus-within)
Visited = 7
Link has been visited (:visited)
Trait Implementations§
Source§impl Clone for PseudoStateType
impl Clone for PseudoStateType
Source§fn clone(&self) -> PseudoStateType
fn clone(&self) -> PseudoStateType
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 PseudoStateType
impl Debug for PseudoStateType
Source§impl Hash for PseudoStateType
impl Hash for PseudoStateType
Source§impl PartialEq for PseudoStateType
impl PartialEq for PseudoStateType
impl Copy for PseudoStateType
impl Eq for PseudoStateType
impl StructuralPartialEq for PseudoStateType
Auto Trait Implementations§
impl Freeze for PseudoStateType
impl RefUnwindSafe for PseudoStateType
impl Send for PseudoStateType
impl Sync for PseudoStateType
impl Unpin for PseudoStateType
impl UnwindSafe for PseudoStateType
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