Struct swc_css_visit::All
source · [−]pub struct All<V> {
pub visitor: V,
}
Expand description
Visit all children nodes. This converts VisitAll
to Visit
. The type
parameter V
should implement VisitAll
and All<V>
implements Visit
.
Fields
visitor: V
Trait Implementations
sourceimpl<V> Visit for All<V> where
V: VisitAll,
impl<V> Visit for All<V> where
V: VisitAll,
fn visit_an_plus_b(&mut self, n: &AnPlusB)
fn visit_at_rule(&mut self, n: &AtRule)
fn visit_at_rule_name(&mut self, n: &AtRuleName)
fn visit_at_selector(&mut self, n: &AtSelector)
fn visit_attribute_selector(&mut self, n: &AttributeSelector)
fn visit_attribute_selector_matcher(&mut self, n: &AttributeSelectorMatcher)
fn visit_attribute_selector_matcher_value(
&mut self,
n: &AttributeSelectorMatcherValue
)
fn visit_attribute_selector_modifier(&mut self, n: &AttributeSelectorModifier)
fn visit_attribute_selector_value(&mut self, n: &AttributeSelectorValue)
fn visit_bin_op(&mut self, n: &BinOp)
fn visit_bin_value(&mut self, n: &BinValue)
fn visit_block(&mut self, n: &Block)
fn visit_char(&mut self, n: &char)
fn visit_charset_rule(&mut self, n: &CharsetRule)
fn visit_class_selector(&mut self, n: &ClassSelector)
fn visit_color(&mut self, n: &Color)
fn visit_color_profile_name(&mut self, n: &ColorProfileName)
fn visit_color_profile_rule(&mut self, n: &ColorProfileRule)
fn visit_combinator(&mut self, n: &Combinator)
fn visit_combinator_value(&mut self, n: &CombinatorValue)
fn visit_complex_selector(&mut self, n: &ComplexSelector)
fn visit_complex_selector_children(&mut self, n: &ComplexSelectorChildren)
fn visit_complex_selector_children_vec(&mut self, n: &[ComplexSelectorChildren])
fn visit_complex_selectors(&mut self, n: &[ComplexSelector])
fn visit_compound_selector(&mut self, n: &CompoundSelector)
fn visit_custom_ident(&mut self, n: &CustomIdent)
fn visit_dashed_ident(&mut self, n: &DashedIdent)
fn visit_declaration(&mut self, n: &Declaration)
fn visit_declaration_block_item(&mut self, n: &DeclarationBlockItem)
fn visit_declaration_block_items(&mut self, n: &[DeclarationBlockItem])
fn visit_declaration_name(&mut self, n: &DeclarationName)
fn visit_delimiter(&mut self, n: &Delimiter)
fn visit_delimiter_value(&mut self, n: &DelimiterValue)
fn visit_dimension(&mut self, n: &Dimension)
fn visit_document_rule(&mut self, n: &DocumentRule)
fn visit_font_face_rule(&mut self, n: &FontFaceRule)
fn visit_function(&mut self, n: &Function)
fn visit_functions(&mut self, n: &[Function])
fn visit_hex_color(&mut self, n: &HexColor)
fn visit_i_32(&mut self, n: &i32)
fn visit_id_selector(&mut self, n: &IdSelector)
fn visit_ident(&mut self, n: &Ident)
fn visit_idents(&mut self, n: &[Ident])
fn visit_import_href(&mut self, n: &ImportHref)
fn visit_import_layer_name(&mut self, n: &ImportLayerName)
fn visit_import_rule(&mut self, n: &ImportRule)
fn visit_import_supports_type(&mut self, n: &ImportSupportsType)
fn visit_important_flag(&mut self, n: &ImportantFlag)
fn visit_js_word(&mut self, n: &JsWord)
fn visit_keyframe_block(&mut self, n: &KeyframeBlock)
fn visit_keyframe_blocks(&mut self, n: &[KeyframeBlock])
fn visit_keyframe_selector(&mut self, n: &KeyframeSelector)
fn visit_keyframe_selectors(&mut self, n: &[KeyframeSelector])
fn visit_keyframes_name(&mut self, n: &KeyframesName)
fn visit_keyframes_rule(&mut self, n: &KeyframesRule)
fn visit_layer_name(&mut self, n: &LayerName)
fn visit_layer_name_list(&mut self, n: &LayerNameList)
fn visit_layer_names(&mut self, n: &[LayerName])
fn visit_layer_prelude(&mut self, n: &LayerPrelude)
fn visit_layer_rule(&mut self, n: &LayerRule)
fn visit_media_and(&mut self, n: &MediaAnd)
fn visit_media_condition(&mut self, n: &MediaCondition)
fn visit_media_condition_all_type(&mut self, n: &MediaConditionAllType)
fn visit_media_condition_all_types(&mut self, n: &[MediaConditionAllType])
fn visit_media_condition_type(&mut self, n: &MediaConditionType)
fn visit_media_condition_without_or(&mut self, n: &MediaConditionWithoutOr)
fn visit_media_condition_without_or_type(
&mut self,
n: &MediaConditionWithoutOrType
)
fn visit_media_condition_without_or_types(
&mut self,
n: &[MediaConditionWithoutOrType]
)
fn visit_media_feature(&mut self, n: &MediaFeature)
fn visit_media_feature_boolean(&mut self, n: &MediaFeatureBoolean)
fn visit_media_feature_name(&mut self, n: &MediaFeatureName)
fn visit_media_feature_plain(&mut self, n: &MediaFeaturePlain)
fn visit_media_feature_range(&mut self, n: &MediaFeatureRange)
fn visit_media_feature_range_comparison(
&mut self,
n: &MediaFeatureRangeComparison
)
fn visit_media_feature_range_interval(&mut self, n: &MediaFeatureRangeInterval)
fn visit_media_feature_value(&mut self, n: &MediaFeatureValue)
fn visit_media_in_parens(&mut self, n: &MediaInParens)
fn visit_media_not(&mut self, n: &MediaNot)
fn visit_media_or(&mut self, n: &MediaOr)
fn visit_media_queries(&mut self, n: &[MediaQuery])
fn visit_media_query(&mut self, n: &MediaQuery)
fn visit_media_query_list(&mut self, n: &MediaQueryList)
fn visit_media_rule(&mut self, n: &MediaRule)
fn visit_namespace_rule(&mut self, n: &NamespaceRule)
fn visit_namespace_uri(&mut self, n: &NamespaceUri)
fn visit_nested_page_rule(&mut self, n: &NestedPageRule)
fn visit_nesting_selector(&mut self, n: &NestingSelector)
fn visit_ns_prefix(&mut self, n: &NsPrefix)
fn visit_nth(&mut self, n: &Nth)
fn visit_nth_value(&mut self, n: &NthValue)
fn visit_number(&mut self, n: &Number)
fn visit_opt_attribute_selector_matcher(
&mut self,
n: Option<&AttributeSelectorMatcher>
)
fn visit_opt_attribute_selector_modifier(
&mut self,
n: Option<&AttributeSelectorModifier>
)
fn visit_opt_attribute_selector_value(
&mut self,
n: Option<&AttributeSelectorValue>
)
fn visit_opt_i_32(&mut self, n: Option<&i32>)
fn visit_opt_ident(&mut self, n: Option<&Ident>)
fn visit_opt_import_layer_name(&mut self, n: Option<&ImportLayerName>)
fn visit_opt_import_supports_type(&mut self, n: Option<&ImportSupportsType>)
fn visit_opt_important_flag(&mut self, n: Option<&ImportantFlag>)
fn visit_opt_js_word(&mut self, n: Option<&JsWord>)
fn visit_opt_layer_prelude(&mut self, n: Option<&LayerPrelude>)
fn visit_opt_media_condition_type(&mut self, n: Option<&MediaConditionType>)
fn visit_opt_media_query_list(&mut self, n: Option<&MediaQueryList>)
fn visit_opt_nesting_selector(&mut self, n: Option<&NestingSelector>)
fn visit_opt_ns_prefix(&mut self, n: Option<&NsPrefix>)
fn visit_opt_number(&mut self, n: Option<&Number>)
fn visit_opt_pseudo_selector_children(
&mut self,
n: Option<&PseudoSelectorChildren>
)
fn visit_opt_rules(&mut self, n: Option<&[Rule]>)
fn visit_opt_selector_list(&mut self, n: Option<&SelectorList>)
fn visit_opt_simple_block(&mut self, n: Option<&SimpleBlock>)
fn visit_opt_tokens(&mut self, n: Option<&Tokens>)
fn visit_opt_type_selector(&mut self, n: Option<&TypeSelector>)
fn visit_opt_url_modifiers(&mut self, n: Option<&[UrlModifier]>)
fn visit_opt_url_value(&mut self, n: Option<&UrlValue>)
fn visit_page_rule(&mut self, n: &PageRule)
fn visit_page_rule_block(&mut self, n: &PageRuleBlock)
fn visit_page_rule_block_item(&mut self, n: &PageRuleBlockItem)
fn visit_page_rule_block_items(&mut self, n: &[PageRuleBlockItem])
fn visit_page_selector(&mut self, n: &PageSelector)
fn visit_page_selectors(&mut self, n: &[PageSelector])
fn visit_percent(&mut self, n: &Percent)
fn visit_pseudo_class_selector(&mut self, n: &PseudoClassSelector)
fn visit_pseudo_element_selector(&mut self, n: &PseudoElementSelector)
fn visit_pseudo_selector_children(&mut self, n: &PseudoSelectorChildren)
fn visit_qualified_rule(&mut self, n: &QualifiedRule)
fn visit_ratio(&mut self, n: &Ratio)
fn visit_rule(&mut self, n: &Rule)
fn visit_rules(&mut self, n: &[Rule])
fn visit_selector_list(&mut self, n: &SelectorList)
fn visit_simple_block(&mut self, n: &SimpleBlock)
fn visit_span(&mut self, n: &Span)
fn visit_str(&mut self, n: &Str)
fn visit_stylesheet(&mut self, n: &Stylesheet)
fn visit_subclass_selector(&mut self, n: &SubclassSelector)
fn visit_subclass_selectors(&mut self, n: &[SubclassSelector])
fn visit_supports_and(&mut self, n: &SupportsAnd)
fn visit_supports_condition(&mut self, n: &SupportsCondition)
fn visit_supports_condition_type(&mut self, n: &SupportsConditionType)
fn visit_supports_condition_types(&mut self, n: &[SupportsConditionType])
fn visit_supports_feature(&mut self, n: &SupportsFeature)
fn visit_supports_in_parens(&mut self, n: &SupportsInParens)
fn visit_supports_not(&mut self, n: &SupportsNot)
fn visit_supports_or(&mut self, n: &SupportsOr)
fn visit_supports_rule(&mut self, n: &SupportsRule)
fn visit_tag_name_selector(&mut self, n: &TagNameSelector)
fn visit_token(&mut self, n: &Token)
fn visit_token_and_span(&mut self, n: &TokenAndSpan)
fn visit_token_and_spans(&mut self, n: &[TokenAndSpan])
fn visit_tokens(&mut self, n: &Tokens)
fn visit_type_selector(&mut self, n: &TypeSelector)
fn visit_universal_selector(&mut self, n: &UniversalSelector)
fn visit_unknown_at_rule(&mut self, n: &UnknownAtRule)
fn visit_url(&mut self, n: &Url)
fn visit_url_modifier(&mut self, n: &UrlModifier)
fn visit_url_modifiers(&mut self, n: &[UrlModifier])
fn visit_url_value(&mut self, n: &UrlValue)
fn visit_url_value_raw(&mut self, n: &UrlValueRaw)
fn visit_value(&mut self, n: &Value)
fn visit_values(&mut self, n: &[Value])
fn visit_viewport_rule(&mut self, n: &ViewportRule)
fn visit_wq_name(&mut self, n: &WqName)
impl<V> Copy for All<V> where
V: Copy,
impl<V> Eq for All<V> where
V: Eq,
impl<V> StructuralEq for All<V>
impl<V> StructuralPartialEq for All<V>
Auto Trait Implementations
impl<V> RefUnwindSafe for All<V> where
V: RefUnwindSafe,
impl<V> Send for All<V> where
V: Send,
impl<V> Sync for All<V> where
V: Sync,
impl<V> Unpin for All<V> where
V: Unpin,
impl<V> UnwindSafe for All<V> where
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more