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.

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