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]
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