Struct rquery::CompoundSelector [] [src]

pub struct CompoundSelector {
    pub scope: Scope,
    pub parts: Vec<Selector>,
}

Represents a component of a parsed CSS selector is used to match a single element.

Fields

The scope of the selector.

The individual parts that make up the compound selector.

Methods

impl CompoundSelector
[src]

[src]

Parses the string and converts it to a list of CompoundSelectors.

Trait Implementations

impl Clone for CompoundSelector
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CompoundSelector
[src]

[src]

Formats the value using the given formatter.