pub enum CssPathPseudoSelector {
First,
Last,
NthChild(CssNthChildSelector),
Hover,
Active,
Focus,
}
Variants§
First
:first
Last
:last
NthChild(CssNthChildSelector)
:nth-child
Hover
:hover
- mouse is over element
Active
:active
- mouse is pressed and over element
Focus
:focus
- element has received focus
Trait Implementations§
Source§impl Clone for CssPathPseudoSelector
impl Clone for CssPathPseudoSelector
Source§fn clone(&self) -> CssPathPseudoSelector
fn clone(&self) -> CssPathPseudoSelector
Returns a copy 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 CssPathPseudoSelector
impl Debug for CssPathPseudoSelector
Source§impl Display for CssPathPseudoSelector
impl Display for CssPathPseudoSelector
Source§impl Hash for CssPathPseudoSelector
impl Hash for CssPathPseudoSelector
Source§impl Ord for CssPathPseudoSelector
impl Ord for CssPathPseudoSelector
Source§fn cmp(&self, other: &CssPathPseudoSelector) -> Ordering
fn cmp(&self, other: &CssPathPseudoSelector) -> 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 PartialEq for CssPathPseudoSelector
impl PartialEq for CssPathPseudoSelector
Source§impl PartialOrd for CssPathPseudoSelector
impl PartialOrd for CssPathPseudoSelector
impl Copy for CssPathPseudoSelector
impl Eq for CssPathPseudoSelector
impl StructuralPartialEq for CssPathPseudoSelector
Auto Trait Implementations§
impl Freeze for CssPathPseudoSelector
impl RefUnwindSafe for CssPathPseudoSelector
impl Send for CssPathPseudoSelector
impl Sync for CssPathPseudoSelector
impl Unpin for CssPathPseudoSelector
impl UnwindSafe for CssPathPseudoSelector
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)