Enum selectors::parser::Combinator
[−]
[src]
pub enum Combinator { Child, Descendant, NextSibling, LaterSibling, }
Variants
Child
Descendant
NextSibling
LaterSibling
Trait Implementations
impl Eq for Combinator
[src]
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 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 Copy for Combinator
[src]
impl Debug for Combinator
[src]
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 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