Enum rquery::Selector [] [src]

pub enum Selector {
    TagName(String),
    Attribute(String),
}

The individual parts of the CompoundSelector. For example, the selector input[type="radio"] has two parts, the TagName and Attribute selectors.

Variants

TagName(String)

Represents a tag name selector (e.g. input)

Attribute(String)

Represents an attribute selector (e.g. [type="radio"])

Trait Implementations

impl Clone for Selector
[src]

fn clone(&self) -> Selector

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more