pub enum CssPathSelector {
Global,
Type(NodeTypePath),
Class(String),
Id(String),
PseudoSelector(CssPathPseudoSelector),
DirectChildren,
Children,
}
Variants§
Global
Represents the *
selector
Type(NodeTypePath)
div
, p
, etc.
Class(String)
.something
Id(String)
#something
PseudoSelector(CssPathPseudoSelector)
:something
DirectChildren
Represents the >
selector
Children
Represents the
selector
Trait Implementations§
Source§impl Clone for CssPathSelector
impl Clone for CssPathSelector
Source§fn clone(&self) -> CssPathSelector
fn clone(&self) -> CssPathSelector
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 CssPathSelector
impl Debug for CssPathSelector
Source§impl Default for CssPathSelector
impl Default for CssPathSelector
Source§impl Display for CssPathSelector
impl Display for CssPathSelector
Source§impl Hash for CssPathSelector
impl Hash for CssPathSelector
Source§impl Ord for CssPathSelector
impl Ord for CssPathSelector
Source§fn cmp(&self, other: &CssPathSelector) -> Ordering
fn cmp(&self, other: &CssPathSelector) -> 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 CssPathSelector
impl PartialEq for CssPathSelector
Source§impl PartialOrd for CssPathSelector
impl PartialOrd for CssPathSelector
impl Eq for CssPathSelector
impl StructuralPartialEq for CssPathSelector
Auto Trait Implementations§
impl Freeze for CssPathSelector
impl RefUnwindSafe for CssPathSelector
impl Send for CssPathSelector
impl Sync for CssPathSelector
impl Unpin for CssPathSelector
impl UnwindSafe for CssPathSelector
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
)