Enum selectors::parser::Combinator [] [src]

pub enum Combinator {
    Child,
    Descendant,
    NextSibling,
    LaterSibling,
}

Variants

ChildDescendantNextSiblingLaterSibling

Trait Implementations

impl Debug for Combinator
[src]

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

Formats the value using the given formatter.

impl Copy for Combinator
[src]

impl Clone for Combinator
[src]

fn clone(&self) -> Combinator

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 PartialEq for Combinator
[src]

fn eq(&self, __arg_0: &Combinator) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl ToCss for Combinator
[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