pub enum SelectorPart {
Tag(String),
Class(String),
Id(String),
NthChild(usize),
}
Variants§
Trait Implementations§
Source§impl Clone for SelectorPart
impl Clone for SelectorPart
Source§fn clone(&self) -> SelectorPart
fn clone(&self) -> SelectorPart
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 From<SelectorPart> for Selector
impl From<SelectorPart> for Selector
Source§fn from(value: SelectorPart) -> Self
fn from(value: SelectorPart) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SelectorPart
impl RefUnwindSafe for SelectorPart
impl Send for SelectorPart
impl Sync for SelectorPart
impl Unpin for SelectorPart
impl UnwindSafe for SelectorPart
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