pub enum CssNthChildSelector {
Number(usize),
Even,
Odd,
Pattern {
repeat: usize,
offset: usize,
},
}
Variants§
Trait Implementations§
Source§impl Clone for CssNthChildSelector
impl Clone for CssNthChildSelector
Source§fn clone(&self) -> CssNthChildSelector
fn clone(&self) -> CssNthChildSelector
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 CssNthChildSelector
impl Debug for CssNthChildSelector
Source§impl Display for CssNthChildSelector
impl Display for CssNthChildSelector
Source§impl Hash for CssNthChildSelector
impl Hash for CssNthChildSelector
Source§impl Ord for CssNthChildSelector
impl Ord for CssNthChildSelector
Source§fn cmp(&self, other: &CssNthChildSelector) -> Ordering
fn cmp(&self, other: &CssNthChildSelector) -> 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 CssNthChildSelector
impl PartialEq for CssNthChildSelector
Source§impl PartialOrd for CssNthChildSelector
impl PartialOrd for CssNthChildSelector
impl Copy for CssNthChildSelector
impl Eq for CssNthChildSelector
impl StructuralPartialEq for CssNthChildSelector
Auto Trait Implementations§
impl Freeze for CssNthChildSelector
impl RefUnwindSafe for CssNthChildSelector
impl Send for CssNthChildSelector
impl Sync for CssNthChildSelector
impl Unpin for CssNthChildSelector
impl UnwindSafe for CssNthChildSelector
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
)