Enum hobo_css::selector::SelectorComponent [−][src]
pub enum SelectorComponent {
Show 13 variants
Element(Element),
Class(String),
Id(String),
PseudoClass(PseudoClass),
PseudoElement(PseudoElement),
Child,
Descendant,
Adjacent,
And,
ClassPlaceholder,
Any,
Attribute(String),
Raw(String),
}
Variants
Element(Element)
Tuple Fields
0: Element
Class(String)
Tuple Fields
0: String
Id(String)
Tuple Fields
0: String
PseudoClass(PseudoClass)
Tuple Fields
0: PseudoClass
PseudoElement(PseudoElement)
Tuple Fields
Child
Descendant
Adjacent
And
ClassPlaceholder
Any
Attribute(String)
Tuple Fields
0: String
Raw(String)
Tuple Fields
0: String
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SelectorComponent
impl Send for SelectorComponent
impl Sync for SelectorComponent
impl Unpin for SelectorComponent
impl UnwindSafe for SelectorComponent
Blanket Implementations
Mutably borrows from an owned value. Read more