Struct scraper::selector::Selector[][src]

pub struct Selector {
    pub selectors: SmallVec<[Selector<Simple>; 1]>,
}

Wrapper around CSS selectors.

Represents a "selector group", i.e. a comma-separated list of selectors.

Fields

The CSS selectors.

Methods

impl Selector
[src]

Parses a CSS selector group.

Returns true if the element matches this selector.

Trait Implementations

impl Debug for Selector
[src]

Formats the value using the given formatter. Read more

impl Clone for Selector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Selector
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Selector

impl Sync for Selector