Struct kuchiki::Selectors[][src]

pub struct Selectors(pub Vec<Selector>);

A pre-compiled list of CSS Selectors.

Methods

impl Selectors
[src]

Compile a list of selectors. This may fail on syntax errors or unsupported selectors.

Returns whether the given element matches this list of selectors.

Important traits for Select<I, S>

Filter an element iterator, yielding those matching this list of selectors.

Trait Implementations

impl FromStr for Selectors
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for Selectors
[src]

Formats the value using the given formatter. Read more

impl Debug for Selectors
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Selectors

impl Sync for Selectors