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.


The scope of the selector.

The individual parts that make up the compound selector.


impl CompoundSelector


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

Trait Implementations

impl Clone for CompoundSelector


Returns a copy of the value. Read more


Performs copy-assignment from source. Read more

impl Debug for CompoundSelector


Formats the value using the given formatter.