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

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

Variants

ChildDescendantNextSiblingLaterSibling

Trait Implementations

impl Hash for Combinator
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

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

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