Trait swc_css_visit::VisitAllWith
source · pub trait VisitAllWith<V: ?Sized + VisitAll> {
// Required methods
fn visit_all_with(&self, v: &mut V);
fn visit_all_children_with(&self, v: &mut V);
}
Expand description
A utility trait implemented for ast nodes, and allow to visit them with a visitor.
Required Methods§
sourcefn visit_all_with(&self, v: &mut V)
fn visit_all_with(&self, v: &mut V)
Calls a visitor method (v.visit_xxx) with self.
sourcefn visit_all_children_with(&self, v: &mut V)
fn visit_all_children_with(&self, v: &mut V)
Visit children nodes of self with v
Implementations on Foreign Types§
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Namespace>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Namespace>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeatureRange
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeatureRange
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for CombinatorValue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CombinatorValue
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaQuery
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaQuery
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for UnknownDimension
impl<V: ?Sized + VisitAll> VisitAllWith<V> for UnknownDimension
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ComplexSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ComplexSelector
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Ident
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Ident
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Declaration
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Declaration
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeature
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeature
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ForgivingRelativeSelectorList
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ForgivingRelativeSelectorList
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<FamilyName>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<FamilyName>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for AnPlusBNotation
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AnPlusBNotation
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for AnglePercentage
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AnglePercentage
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerQueryType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerQueryType
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Atom
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Atom
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<PageSelectorPseudo>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<PageSelectorPseudo>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Number>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Number>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Rule
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Rule
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ForgivingSelectorList
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ForgivingSelectorList
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for PageSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for PageSelector
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for AttributeSelectorValue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AttributeSelectorValue
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for PageSelectorPseudo
impl<V: ?Sized + VisitAll> VisitAllWith<V> for PageSelectorPseudo
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<NamespacePrefix>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<NamespacePrefix>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for CustomMediaQuery
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CustomMediaQuery
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaConditionWithoutOrType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaConditionWithoutOrType
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<ForgivingRelativeSelector>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<ForgivingRelativeSelector>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Namespace
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Namespace
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Combinator>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Combinator>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for KeyframesName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for KeyframesName
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for UrlValueRaw
impl<V: ?Sized + VisitAll> VisitAllWith<V> for UrlValueRaw
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Number
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Number
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<NestingSelector>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<NestingSelector>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<CalcValueOrOperator>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<CalcValueOrOperator>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for SupportsConditionType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SupportsConditionType
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Atom>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Atom>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for HexColor
impl<V: ?Sized + VisitAll> VisitAllWith<V> for HexColor
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<UrlValue>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<UrlValue>>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for LayerPrelude
impl<V: ?Sized + VisitAll> VisitAllWith<V> for LayerPrelude
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ForgivingRelativeSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ForgivingRelativeSelector
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Color
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Color
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<SubclassSelector>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<SubclassSelector>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<SupportsConditionType>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<SupportsConditionType>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Length
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Length
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<ImportLayerName>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<ImportLayerName>>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V, T> VisitAllWith<V> for Box<T>where
V: ?Sized + VisitAll,
T: 'static + VisitAllWith<V>,
impl<V, T> VisitAllWith<V> for Box<T>where V: ?Sized + VisitAll, T: 'static + VisitAllWith<V>,
source§fn visit_all_children_with(&self, v: &mut V)
fn visit_all_children_with(&self, v: &mut V)
Visit children nodes of self with v