Enum rquery::Selector [] [src]

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

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

Variants

Represents an id selector (e.g. #the-id)

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

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

Trait Implementations

impl Clone for Selector
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Selector
[src]

[src]

Formats the value using the given formatter.