Type Definition lightningcss::selector::Selector
source · pub type Selector<'i> = Selector<'i, Selectors>;
Expand description
A CSS selector, including a list of components.
Trait Implementations§
source§impl<'i, T: Visit<'i, T, V>, V: Visitor<'i, T>> Visit<'i, T, V> for Selector<'i>
impl<'i, T: Visit<'i, T, V>, V: Visitor<'i, T>> Visit<'i, T, V> for Selector<'i>
source§const CHILD_TYPES: VisitTypes = VisitTypes::SELECTORS
const CHILD_TYPES: VisitTypes = VisitTypes::SELECTORS
The types of values contained within this value and its children.
This is used to skip branches that don’t have any values requested
by the Visitor. Read more
source§fn visit(&mut self, visitor: &mut V)
fn visit(&mut self, visitor: &mut V)
Visits the value by calling an appropriate method on the Visitor.
If no corresponding visitor method exists, then the children are visited. Read more
source§fn visit_children(&mut self, _visitor: &mut V)
fn visit_children(&mut self, _visitor: &mut V)
Visit the children of this value.