pub enum SelectorPart {
Universal,
Tag(String),
Id(String),
Class(String),
Attribute(AttributeSelector),
PseudoClass(String),
}Expand description
Atomic part of a CSS compound selector.
Variants§
Trait Implementations§
Source§impl Clone for SelectorPart
impl Clone for SelectorPart
Source§impl Debug for SelectorPart
impl Debug for SelectorPart
impl Eq for SelectorPart
Source§impl PartialEq for SelectorPart
impl PartialEq for SelectorPart
impl StructuralPartialEq for SelectorPart
Auto Trait Implementations§
impl Forget for SelectorPart
impl Freeze for SelectorPart
impl Move for SelectorPart
impl RefUnwindSafe for SelectorPart
impl Send for SelectorPart
impl Sync for SelectorPart
impl Unpin for SelectorPart
impl UnsafeUnpin 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