Struct swc_css_utils::IdentReplacer
source · [−]pub struct IdentReplacer<'a> { /* private fields */ }
Trait Implementations
sourceimpl VisitMut for IdentReplacer<'_>
impl VisitMut for IdentReplacer<'_>
fn visit_mut_ident(&mut self, n: &mut Ident)
fn visit_mut_an_plus_b(&mut self, n: &mut AnPlusB)
fn visit_mut_at_rule(&mut self, n: &mut AtRule)
fn visit_mut_at_rule_name(&mut self, n: &mut AtRuleName)
fn visit_mut_attribute_selector(&mut self, n: &mut AttributeSelector)
fn visit_mut_attribute_selector_matcher(
&mut self,
n: &mut AttributeSelectorMatcher
)
fn visit_mut_attribute_selector_matcher_value(
&mut self,
n: &mut AttributeSelectorMatcherValue
)
fn visit_mut_attribute_selector_modifier(
&mut self,
n: &mut AttributeSelectorModifier
)
fn visit_mut_attribute_selector_value(&mut self, n: &mut AttributeSelectorValue)
fn visit_mut_bin_op(&mut self, n: &mut BinOp)
fn visit_mut_bin_value(&mut self, n: &mut BinValue)
fn visit_mut_block(&mut self, n: &mut Block)
fn visit_mut_char(&mut self, n: &mut char)
fn visit_mut_charset_rule(&mut self, n: &mut CharsetRule)
fn visit_mut_class_selector(&mut self, n: &mut ClassSelector)
fn visit_mut_color(&mut self, n: &mut Color)
fn visit_mut_color_profile_name(&mut self, n: &mut ColorProfileName)
fn visit_mut_color_profile_rule(&mut self, n: &mut ColorProfileRule)
fn visit_mut_combinator(&mut self, n: &mut Combinator)
fn visit_mut_combinator_value(&mut self, n: &mut CombinatorValue)
fn visit_mut_complex_selector(&mut self, n: &mut ComplexSelector)
fn visit_mut_complex_selector_children(
&mut self,
n: &mut ComplexSelectorChildren
)
fn visit_mut_complex_selector_children_vec(
&mut self,
n: &mut Vec<ComplexSelectorChildren, Global>
)
fn visit_mut_complex_selectors(&mut self, n: &mut Vec<ComplexSelector, Global>)
fn visit_mut_compound_selector(&mut self, n: &mut CompoundSelector)
fn visit_mut_counter_style_rule(&mut self, n: &mut CounterStyleRule)
fn visit_mut_custom_ident(&mut self, n: &mut CustomIdent)
fn visit_mut_dashed_ident(&mut self, n: &mut DashedIdent)
fn visit_mut_declaration(&mut self, n: &mut Declaration)
fn visit_mut_declaration_block_item(&mut self, n: &mut DeclarationBlockItem)
fn visit_mut_declaration_block_items(
&mut self,
n: &mut Vec<DeclarationBlockItem, Global>
)
fn visit_mut_declaration_name(&mut self, n: &mut DeclarationName)
fn visit_mut_delimiter(&mut self, n: &mut Delimiter)
fn visit_mut_delimiter_value(&mut self, n: &mut DelimiterValue)
fn visit_mut_dimension(&mut self, n: &mut Dimension)
fn visit_mut_document_rule(&mut self, n: &mut DocumentRule)
fn visit_mut_document_rule_matching_function(
&mut self,
n: &mut DocumentRuleMatchingFunction
)
fn visit_mut_document_rule_matching_functions(
&mut self,
n: &mut Vec<DocumentRuleMatchingFunction, Global>
)
fn visit_mut_font_face_rule(&mut self, n: &mut FontFaceRule)
fn visit_mut_function(&mut self, n: &mut Function)
fn visit_mut_hex_color(&mut self, n: &mut HexColor)
fn visit_mut_i_32(&mut self, n: &mut i32)
fn visit_mut_id_selector(&mut self, n: &mut IdSelector)
fn visit_mut_idents(&mut self, n: &mut Vec<Ident, Global>)
fn visit_mut_import_href(&mut self, n: &mut ImportHref)
fn visit_mut_import_layer_name(&mut self, n: &mut ImportLayerName)
fn visit_mut_import_rule(&mut self, n: &mut ImportRule)
fn visit_mut_import_supports_type(&mut self, n: &mut ImportSupportsType)
fn visit_mut_important_flag(&mut self, n: &mut ImportantFlag)
fn visit_mut_js_word(&mut self, n: &mut Atom<JsWordStaticSet>)
fn visit_mut_keyframe_block(&mut self, n: &mut KeyframeBlock)
fn visit_mut_keyframe_blocks(&mut self, n: &mut Vec<KeyframeBlock, Global>)
fn visit_mut_keyframe_selector(&mut self, n: &mut KeyframeSelector)
fn visit_mut_keyframe_selectors(
&mut self,
n: &mut Vec<KeyframeSelector, Global>
)
fn visit_mut_keyframes_name(&mut self, n: &mut KeyframesName)
fn visit_mut_keyframes_rule(&mut self, n: &mut KeyframesRule)
fn visit_mut_layer_name(&mut self, n: &mut LayerName)
fn visit_mut_layer_name_list(&mut self, n: &mut LayerNameList)
fn visit_mut_layer_names(&mut self, n: &mut Vec<LayerName, Global>)
fn visit_mut_layer_prelude(&mut self, n: &mut LayerPrelude)
fn visit_mut_layer_rule(&mut self, n: &mut LayerRule)
fn visit_mut_media_and(&mut self, n: &mut MediaAnd)
fn visit_mut_media_condition(&mut self, n: &mut MediaCondition)
fn visit_mut_media_condition_all_type(&mut self, n: &mut MediaConditionAllType)
fn visit_mut_media_condition_all_types(
&mut self,
n: &mut Vec<MediaConditionAllType, Global>
)
fn visit_mut_media_condition_type(&mut self, n: &mut MediaConditionType)
fn visit_mut_media_condition_without_or(
&mut self,
n: &mut MediaConditionWithoutOr
)
fn visit_mut_media_condition_without_or_type(
&mut self,
n: &mut MediaConditionWithoutOrType
)
fn visit_mut_media_condition_without_or_types(
&mut self,
n: &mut Vec<MediaConditionWithoutOrType, Global>
)
fn visit_mut_media_feature(&mut self, n: &mut MediaFeature)
fn visit_mut_media_feature_boolean(&mut self, n: &mut MediaFeatureBoolean)
fn visit_mut_media_feature_name(&mut self, n: &mut MediaFeatureName)
fn visit_mut_media_feature_plain(&mut self, n: &mut MediaFeaturePlain)
fn visit_mut_media_feature_range(&mut self, n: &mut MediaFeatureRange)
fn visit_mut_media_feature_range_comparison(
&mut self,
n: &mut MediaFeatureRangeComparison
)
fn visit_mut_media_feature_range_interval(
&mut self,
n: &mut MediaFeatureRangeInterval
)
fn visit_mut_media_feature_value(&mut self, n: &mut MediaFeatureValue)
fn visit_mut_media_in_parens(&mut self, n: &mut MediaInParens)
fn visit_mut_media_not(&mut self, n: &mut MediaNot)
fn visit_mut_media_or(&mut self, n: &mut MediaOr)
fn visit_mut_media_queries(&mut self, n: &mut Vec<MediaQuery, Global>)
fn visit_mut_media_query(&mut self, n: &mut MediaQuery)
fn visit_mut_media_query_list(&mut self, n: &mut MediaQueryList)
fn visit_mut_media_rule(&mut self, n: &mut MediaRule)
fn visit_mut_namespace_rule(&mut self, n: &mut NamespaceRule)
fn visit_mut_namespace_uri(&mut self, n: &mut NamespaceUri)
fn visit_mut_nesting_selector(&mut self, n: &mut NestingSelector)
fn visit_mut_ns_prefix(&mut self, n: &mut NsPrefix)
fn visit_mut_nth(&mut self, n: &mut Nth)
fn visit_mut_nth_value(&mut self, n: &mut NthValue)
fn visit_mut_number(&mut self, n: &mut Number)
fn visit_mut_opt_attribute_selector_matcher(
&mut self,
n: &mut Option<AttributeSelectorMatcher>
)
fn visit_mut_opt_attribute_selector_modifier(
&mut self,
n: &mut Option<AttributeSelectorModifier>
)
fn visit_mut_opt_attribute_selector_value(
&mut self,
n: &mut Option<AttributeSelectorValue>
)
fn visit_mut_opt_i_32(&mut self, n: &mut Option<i32>)
fn visit_mut_opt_ident(&mut self, n: &mut Option<Ident>)
fn visit_mut_opt_import_layer_name(&mut self, n: &mut Option<ImportLayerName>)
fn visit_mut_opt_import_supports_type(
&mut self,
n: &mut Option<ImportSupportsType>
)
fn visit_mut_opt_important_flag(&mut self, n: &mut Option<ImportantFlag>)
fn visit_mut_opt_js_word(&mut self, n: &mut Option<Atom<JsWordStaticSet>>)
fn visit_mut_opt_layer_prelude(&mut self, n: &mut Option<LayerPrelude>)
fn visit_mut_opt_media_condition_type(
&mut self,
n: &mut Option<MediaConditionType>
)
fn visit_mut_opt_media_query_list(&mut self, n: &mut Option<MediaQueryList>)
fn visit_mut_opt_nesting_selector(&mut self, n: &mut Option<NestingSelector>)
fn visit_mut_opt_ns_prefix(&mut self, n: &mut Option<NsPrefix>)
fn visit_mut_opt_number(&mut self, n: &mut Option<Number>)
fn visit_mut_opt_page_selector_list(&mut self, n: &mut Option<PageSelectorList>)
fn visit_mut_opt_page_selector_pseudos(
&mut self,
n: &mut Option<Vec<PageSelectorPseudo, Global>>
)
fn visit_mut_opt_page_selector_type(&mut self, n: &mut Option<PageSelectorType>)
fn visit_mut_opt_pseudo_selector_children(
&mut self,
n: &mut Option<PseudoSelectorChildren>
)
fn visit_mut_opt_rules(&mut self, n: &mut Option<Vec<Rule, Global>>)
fn visit_mut_opt_selector_list(&mut self, n: &mut Option<SelectorList>)
fn visit_mut_opt_simple_block(&mut self, n: &mut Option<SimpleBlock>)
fn visit_mut_opt_tokens(&mut self, n: &mut Option<Tokens>)
fn visit_mut_opt_type_selector(&mut self, n: &mut Option<TypeSelector>)
fn visit_mut_opt_url_modifiers(
&mut self,
n: &mut Option<Vec<UrlModifier, Global>>
)
fn visit_mut_opt_url_value(&mut self, n: &mut Option<UrlValue>)
fn visit_mut_page_margin_rule(&mut self, n: &mut PageMarginRule)
fn visit_mut_page_rule(&mut self, n: &mut PageRule)
fn visit_mut_page_selector(&mut self, n: &mut PageSelector)
fn visit_mut_page_selector_list(&mut self, n: &mut PageSelectorList)
fn visit_mut_page_selector_pseudo(&mut self, n: &mut PageSelectorPseudo)
fn visit_mut_page_selector_pseudos(
&mut self,
n: &mut Vec<PageSelectorPseudo, Global>
)
fn visit_mut_page_selector_type(&mut self, n: &mut PageSelectorType)
fn visit_mut_page_selectors(&mut self, n: &mut Vec<PageSelector, Global>)
fn visit_mut_percent(&mut self, n: &mut Percent)
fn visit_mut_property_rule(&mut self, n: &mut PropertyRule)
fn visit_mut_pseudo_class_selector(&mut self, n: &mut PseudoClassSelector)
fn visit_mut_pseudo_element_selector(&mut self, n: &mut PseudoElementSelector)
fn visit_mut_pseudo_selector_children(&mut self, n: &mut PseudoSelectorChildren)
fn visit_mut_qualified_rule(&mut self, n: &mut QualifiedRule)
fn visit_mut_ratio(&mut self, n: &mut Ratio)
fn visit_mut_rule(&mut self, n: &mut Rule)
fn visit_mut_rules(&mut self, n: &mut Vec<Rule, Global>)
fn visit_mut_selector_list(&mut self, n: &mut SelectorList)
fn visit_mut_simple_block(&mut self, n: &mut SimpleBlock)
fn visit_mut_span(&mut self, n: &mut Span)
fn visit_mut_str(&mut self, n: &mut Str)
fn visit_mut_stylesheet(&mut self, n: &mut Stylesheet)
fn visit_mut_subclass_selector(&mut self, n: &mut SubclassSelector)
fn visit_mut_subclass_selectors(
&mut self,
n: &mut Vec<SubclassSelector, Global>
)
fn visit_mut_supports_and(&mut self, n: &mut SupportsAnd)
fn visit_mut_supports_condition(&mut self, n: &mut SupportsCondition)
fn visit_mut_supports_condition_type(&mut self, n: &mut SupportsConditionType)
fn visit_mut_supports_condition_types(
&mut self,
n: &mut Vec<SupportsConditionType, Global>
)
fn visit_mut_supports_feature(&mut self, n: &mut SupportsFeature)
fn visit_mut_supports_in_parens(&mut self, n: &mut SupportsInParens)
fn visit_mut_supports_not(&mut self, n: &mut SupportsNot)
fn visit_mut_supports_or(&mut self, n: &mut SupportsOr)
fn visit_mut_supports_rule(&mut self, n: &mut SupportsRule)
fn visit_mut_tag_name_selector(&mut self, n: &mut TagNameSelector)
fn visit_mut_token(&mut self, n: &mut Token)
fn visit_mut_token_and_span(&mut self, n: &mut TokenAndSpan)
fn visit_mut_token_and_spans(&mut self, n: &mut Vec<TokenAndSpan, Global>)
fn visit_mut_tokens(&mut self, n: &mut Tokens)
fn visit_mut_type_selector(&mut self, n: &mut TypeSelector)
fn visit_mut_universal_selector(&mut self, n: &mut UniversalSelector)
fn visit_mut_unknown_at_rule(&mut self, n: &mut UnknownAtRule)
fn visit_mut_url(&mut self, n: &mut Url)
fn visit_mut_url_modifier(&mut self, n: &mut UrlModifier)
fn visit_mut_url_modifiers(&mut self, n: &mut Vec<UrlModifier, Global>)
fn visit_mut_url_value(&mut self, n: &mut UrlValue)
fn visit_mut_url_value_raw(&mut self, n: &mut UrlValueRaw)
fn visit_mut_value(&mut self, n: &mut Value)
fn visit_mut_values(&mut self, n: &mut Vec<Value, Global>)
fn visit_mut_viewport_rule(&mut self, n: &mut ViewportRule)
fn visit_mut_wq_name(&mut self, n: &mut WqName)
Auto Trait Implementations
impl<'a> RefUnwindSafe for IdentReplacer<'a>
impl<'a> Send for IdentReplacer<'a>
impl<'a> Sync for IdentReplacer<'a>
impl<'a> Unpin for IdentReplacer<'a>
impl<'a> UnwindSafe for IdentReplacer<'a>
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> 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