Enum rquery::Selector
[−]
[src]
pub enum Selector { Id(String), TagName(String), Attribute(String, MatchType, String), }
The individual parts of the CompoundSelector
. For example, the selector
input[type="radio"]
has two parts, the TagName
and Attribute
selectors.
Variants
Id(String)
Represents an id selector (e.g. #the-id
)
TagName(String)
Represents a tag name selector (e.g. input
)
Attribute(String, MatchType, String)
Represents an attribute selector (e.g. [type="radio"]
)
Trait Implementations
impl Clone for Selector
[src]
fn clone(&self) -> Selector
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more