Struct selectors::parser::Selector [] [src]

pub struct Selector<Impl: SelectorImpl> {
    pub compound_selectors: Arc<CompoundSelector<Impl>>,
    pub pseudo_element: Option<Impl::PseudoElement>,
    pub specificity: u32,
}

Fields

compound_selectors: Arc<CompoundSelector<Impl>> pseudo_element: Option<Impl::PseudoElement> specificity: u32

Trait Implementations

impl<Impl: Debug + SelectorImpl> Debug for Selector<Impl> where Impl::PseudoElement: Debug
[src]

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

Formats the value using the given formatter.

impl<Impl: Clone + SelectorImpl> Clone for Selector<Impl> where Impl::PseudoElement: Clone
[src]

fn clone(&self) -> Selector<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 Selector<Impl> where Impl::PseudoElement: PartialEq
[src]

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

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

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

This method tests for !=.