Struct selectors::parser::CompoundSelector [] [src]

pub struct CompoundSelector<Impl: SelectorImpl> {
    pub simple_selectors: Vec<SimpleSelector<Impl>>,
    pub next: Option<(Arc<CompoundSelector<Impl>>, Combinator)>,
}

Fields

simple_selectors: Vec<SimpleSelector<Impl>> next: Option<(Arc<CompoundSelector<Impl>>, Combinator)>

Trait Implementations

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

fn clone(&self) -> CompoundSelector<Impl>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

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

fn eq(&self, __arg_0: &CompoundSelector<Impl>) -> bool

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

fn ne(&self, __arg_0: &CompoundSelector<Impl>) -> bool

This method tests for !=.

impl<Impl: SelectorImpl> Debug for CompoundSelector<Impl>
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

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

fn to_css<W>(&self, dest: &mut W) -> Result where W: Write

Serialize self in CSS syntax, writing to dest.

fn to_css_string(&self) -> String

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

fn fmt_to_css<W>(&self, dest: &mut W) -> Result<()Error> where W: Write

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