Struct selectors::parser::SelectorList [] [src]

pub struct SelectorList<Impl: SelectorImpl>(pub Vec<Selector<Impl>>);

Methods

impl<Impl: SelectorImpl> SelectorList<Impl>
[src]

Parse a comma-separated list of Selectors. https://drafts.csswg.org/selectors/#grouping

Return the Selectors or Err if there is an invalid selector.

Trait Implementations

impl<Impl: PartialEq + SelectorImpl> PartialEq for SelectorList<Impl>
[src]

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

This method tests for !=.

impl<Impl: Eq + SelectorImpl> Eq for SelectorList<Impl>
[src]

impl<Impl: Clone + SelectorImpl> Clone for SelectorList<Impl>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Impl: Debug + SelectorImpl> Debug for SelectorList<Impl>
[src]

Formats the value using the given formatter.

impl<Impl: SelectorImpl> ToCss for SelectorList<Impl>
[src]

Serialize self in CSS syntax, writing to dest.

Serialize self in CSS syntax and return a string. Read more

Serialize self in CSS syntax and return a result compatible with std::fmt::Show. Read more