Struct style::servo::selector_parser::SelectorImpl
[−]
[src]
pub struct SelectorImpl;
The abstract struct we implement the selector parser implementation on top of.
Methods
impl SelectorImpl
[src]
pub fn each_eagerly_cascaded_pseudo_element<F>(fun: F) where
F: FnMut(PseudoElement),
[src]
F: FnMut(PseudoElement),
A helper to traverse each eagerly cascaded pseudo-element, executing
fun
on it.
Trait Implementations
impl Clone for SelectorImpl
[src]
fn clone(&self) -> SelectorImpl
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SelectorImpl
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for SelectorImpl
[src]
fn eq(&self, __arg_0: &SelectorImpl) -> bool
[src]
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[src]
This method tests for !=
.
impl MallocSizeOf for SelectorImpl
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
impl SelectorImpl for SelectorImpl
[src]
type PseudoElement = PseudoElement
pseudo-elements
type NonTSPseudoClass = NonTSPseudoClass
non tree-structural pseudo-classes (see: https://drafts.csswg.org/selectors/#structural-pseudos) Read more
type AttrValue = String
type Identifier = Atom
type ClassName = Atom
type LocalName = LocalName
type NamespacePrefix = Prefix
type NamespaceUrl = Namespace
type BorrowedLocalName = LocalName
type BorrowedNamespaceUrl = Namespace
fn is_active_or_hover(pseudo_class: &Self::NonTSPseudoClass) -> bool
[src]
Returns whether the given pseudo class is :active or :hover.