Struct Compiler
pub struct Compiler { /* private fields */ }
Available on crate features
__css
and css_compat
only.Expand description
Compiles a modern CSS file to a CSS file which works with old browsers.
Implementations§
Trait Implementations§
§impl VisitMut for Compiler
impl VisitMut for Compiler
§fn visit_mut_at_rule(&mut self, n: &mut AtRule)
fn visit_mut_at_rule(&mut self, n: &mut AtRule)
Visit a node of type
AtRule
. Read more§fn visit_mut_supports_condition(&mut self, n: &mut SupportsCondition)
fn visit_mut_supports_condition(&mut self, n: &mut SupportsCondition)
Visit a node of type
SupportsCondition
. Read more§fn visit_mut_media_query(&mut self, n: &mut MediaQuery)
fn visit_mut_media_query(&mut self, n: &mut MediaQuery)
Visit a node of type
MediaQuery
. Read more§fn visit_mut_media_condition(&mut self, n: &mut MediaCondition)
fn visit_mut_media_condition(&mut self, n: &mut MediaCondition)
Visit a node of type
MediaCondition
. Read more§fn visit_mut_media_condition_without_or(
&mut self,
n: &mut MediaConditionWithoutOr,
)
fn visit_mut_media_condition_without_or( &mut self, n: &mut MediaConditionWithoutOr, )
Visit a node of type
MediaConditionWithoutOr
. Read more§fn visit_mut_rules(&mut self, n: &mut Vec<Rule>)
fn visit_mut_rules(&mut self, n: &mut Vec<Rule>)
Visit a node of type
Vec < Rule >
. Read more§fn visit_mut_media_in_parens(&mut self, n: &mut MediaInParens)
fn visit_mut_media_in_parens(&mut self, n: &mut MediaInParens)
Visit a node of type
MediaInParens
. Read more§fn visit_mut_compound_selector(&mut self, n: &mut CompoundSelector)
fn visit_mut_compound_selector(&mut self, n: &mut CompoundSelector)
Visit a node of type
CompoundSelector
. Read more§fn visit_mut_component_value(&mut self, n: &mut ComponentValue)
fn visit_mut_component_value(&mut self, n: &mut ComponentValue)
Visit a node of type
ComponentValue
. Read more§fn visit_mut_absolute_color_base(&mut self, n: &mut AbsoluteColorBase)
fn visit_mut_absolute_color_base(&mut self, n: &mut AbsoluteColorBase)
Visit a node of type
AbsoluteColorBase
. Read more§fn visit_mut_alpha_value(&mut self, node: &mut AlphaValue)
fn visit_mut_alpha_value(&mut self, node: &mut AlphaValue)
Visit a node of type
AlphaValue
. Read more§fn visit_mut_an_plus_b(&mut self, node: &mut AnPlusB)
fn visit_mut_an_plus_b(&mut self, node: &mut AnPlusB)
Visit a node of type
AnPlusB
. Read more§fn visit_mut_an_plus_b_notation(&mut self, node: &mut AnPlusBNotation)
fn visit_mut_an_plus_b_notation(&mut self, node: &mut AnPlusBNotation)
Visit a node of type
AnPlusBNotation
. Read more§fn visit_mut_angle(&mut self, node: &mut Angle)
fn visit_mut_angle(&mut self, node: &mut Angle)
Visit a node of type
Angle
. Read more§fn visit_mut_angle_percentage(&mut self, node: &mut AnglePercentage)
fn visit_mut_angle_percentage(&mut self, node: &mut AnglePercentage)
Visit a node of type
AnglePercentage
. Read more§fn visit_mut_any_namespace(&mut self, node: &mut AnyNamespace)
fn visit_mut_any_namespace(&mut self, node: &mut AnyNamespace)
Visit a node of type
AnyNamespace
. Read more§fn visit_mut_at_rule_name(&mut self, node: &mut AtRuleName)
fn visit_mut_at_rule_name(&mut self, node: &mut AtRuleName)
Visit a node of type
AtRuleName
. Read more§fn visit_mut_at_rule_prelude(&mut self, node: &mut AtRulePrelude)
fn visit_mut_at_rule_prelude(&mut self, node: &mut AtRulePrelude)
Visit a node of type
AtRulePrelude
. Read more§fn visit_mut_atom(&mut self, node: &mut Atom)
fn visit_mut_atom(&mut self, node: &mut Atom)
Visit a node of type
swc_atoms :: Atom
. Read more§fn visit_mut_attribute_selector(&mut self, node: &mut AttributeSelector)
fn visit_mut_attribute_selector(&mut self, node: &mut AttributeSelector)
Visit a node of type
AttributeSelector
. Read more§fn visit_mut_attribute_selector_matcher(
&mut self,
node: &mut AttributeSelectorMatcher,
)
fn visit_mut_attribute_selector_matcher( &mut self, node: &mut AttributeSelectorMatcher, )
Visit a node of type
AttributeSelectorMatcher
. Read more§fn visit_mut_attribute_selector_matcher_value(
&mut self,
node: &mut AttributeSelectorMatcherValue,
)
fn visit_mut_attribute_selector_matcher_value( &mut self, node: &mut AttributeSelectorMatcherValue, )
Visit a node of type
AttributeSelectorMatcherValue
. Read more§fn visit_mut_attribute_selector_modifier(
&mut self,
node: &mut AttributeSelectorModifier,
)
fn visit_mut_attribute_selector_modifier( &mut self, node: &mut AttributeSelectorModifier, )
Visit a node of type
AttributeSelectorModifier
. Read more§fn visit_mut_attribute_selector_value(
&mut self,
node: &mut AttributeSelectorValue,
)
fn visit_mut_attribute_selector_value( &mut self, node: &mut AttributeSelectorValue, )
Visit a node of type
AttributeSelectorValue
. Read more§fn visit_mut_bin_op(&mut self, node: &mut BinOp)
fn visit_mut_bin_op(&mut self, node: &mut BinOp)
Visit a node of type
BinOp
. Read more§fn visit_mut_calc_operator(&mut self, node: &mut CalcOperator)
fn visit_mut_calc_operator(&mut self, node: &mut CalcOperator)
Visit a node of type
CalcOperator
. Read more§fn visit_mut_calc_operator_type(&mut self, node: &mut CalcOperatorType)
fn visit_mut_calc_operator_type(&mut self, node: &mut CalcOperatorType)
Visit a node of type
CalcOperatorType
. Read more§fn visit_mut_calc_product(&mut self, node: &mut CalcProduct)
fn visit_mut_calc_product(&mut self, node: &mut CalcProduct)
Visit a node of type
CalcProduct
. Read more§fn visit_mut_calc_product_or_operator(
&mut self,
node: &mut CalcProductOrOperator,
)
fn visit_mut_calc_product_or_operator( &mut self, node: &mut CalcProductOrOperator, )
Visit a node of type
CalcProductOrOperator
. Read more§fn visit_mut_calc_product_or_operators(
&mut self,
node: &mut Vec<CalcProductOrOperator>,
)
fn visit_mut_calc_product_or_operators( &mut self, node: &mut Vec<CalcProductOrOperator>, )
Visit a node of type
Vec < CalcProductOrOperator >
. Read more§fn visit_mut_calc_sum(&mut self, node: &mut CalcSum)
fn visit_mut_calc_sum(&mut self, node: &mut CalcSum)
Visit a node of type
CalcSum
. Read more§fn visit_mut_calc_value(&mut self, node: &mut CalcValue)
fn visit_mut_calc_value(&mut self, node: &mut CalcValue)
Visit a node of type
CalcValue
. Read more§fn visit_mut_calc_value_or_operator(&mut self, node: &mut CalcValueOrOperator)
fn visit_mut_calc_value_or_operator(&mut self, node: &mut CalcValueOrOperator)
Visit a node of type
CalcValueOrOperator
. Read more§fn visit_mut_calc_value_or_operators(
&mut self,
node: &mut Vec<CalcValueOrOperator>,
)
fn visit_mut_calc_value_or_operators( &mut self, node: &mut Vec<CalcValueOrOperator>, )
Visit a node of type
Vec < CalcValueOrOperator >
. Read more§fn visit_mut_class_selector(&mut self, node: &mut ClassSelector)
fn visit_mut_class_selector(&mut self, node: &mut ClassSelector)
Visit a node of type
ClassSelector
. Read more§fn visit_mut_cmyk_component(&mut self, node: &mut CmykComponent)
fn visit_mut_cmyk_component(&mut self, node: &mut CmykComponent)
Visit a node of type
CmykComponent
. Read more§fn visit_mut_color(&mut self, node: &mut Color)
fn visit_mut_color(&mut self, node: &mut Color)
Visit a node of type
Color
. Read more§fn visit_mut_color_profile_name(&mut self, node: &mut ColorProfileName)
fn visit_mut_color_profile_name(&mut self, node: &mut ColorProfileName)
Visit a node of type
ColorProfileName
. Read more§fn visit_mut_combinator(&mut self, node: &mut Combinator)
fn visit_mut_combinator(&mut self, node: &mut Combinator)
Visit a node of type
Combinator
. Read more§fn visit_mut_combinator_value(&mut self, node: &mut CombinatorValue)
fn visit_mut_combinator_value(&mut self, node: &mut CombinatorValue)
Visit a node of type
CombinatorValue
. Read more§fn visit_mut_complex_selector(&mut self, node: &mut ComplexSelector)
fn visit_mut_complex_selector(&mut self, node: &mut ComplexSelector)
Visit a node of type
ComplexSelector
. Read more§fn visit_mut_complex_selector_children(
&mut self,
node: &mut ComplexSelectorChildren,
)
fn visit_mut_complex_selector_children( &mut self, node: &mut ComplexSelectorChildren, )
Visit a node of type
ComplexSelectorChildren
. Read more§fn visit_mut_complex_selector_childrens(
&mut self,
node: &mut Vec<ComplexSelectorChildren>,
)
fn visit_mut_complex_selector_childrens( &mut self, node: &mut Vec<ComplexSelectorChildren>, )
Visit a node of type
Vec < ComplexSelectorChildren >
. Read more§fn visit_mut_complex_selectors(&mut self, node: &mut Vec<ComplexSelector>)
fn visit_mut_complex_selectors(&mut self, node: &mut Vec<ComplexSelector>)
Visit a node of type
Vec < ComplexSelector >
. Read more§fn visit_mut_component_values(&mut self, node: &mut Vec<ComponentValue>)
fn visit_mut_component_values(&mut self, node: &mut Vec<ComponentValue>)
Visit a node of type
Vec < ComponentValue >
. Read more§fn visit_mut_compound_selector_list(&mut self, node: &mut CompoundSelectorList)
fn visit_mut_compound_selector_list(&mut self, node: &mut CompoundSelectorList)
Visit a node of type
CompoundSelectorList
. Read more§fn visit_mut_compound_selectors(&mut self, node: &mut Vec<CompoundSelector>)
fn visit_mut_compound_selectors(&mut self, node: &mut Vec<CompoundSelector>)
Visit a node of type
Vec < CompoundSelector >
. Read more§fn visit_mut_container_condition(&mut self, node: &mut ContainerCondition)
fn visit_mut_container_condition(&mut self, node: &mut ContainerCondition)
Visit a node of type
ContainerCondition
. Read more§fn visit_mut_container_name(&mut self, node: &mut ContainerName)
fn visit_mut_container_name(&mut self, node: &mut ContainerName)
Visit a node of type
ContainerName
. Read more§fn visit_mut_container_query(&mut self, node: &mut ContainerQuery)
fn visit_mut_container_query(&mut self, node: &mut ContainerQuery)
Visit a node of type
ContainerQuery
. Read more§fn visit_mut_container_query_and(&mut self, node: &mut ContainerQueryAnd)
fn visit_mut_container_query_and(&mut self, node: &mut ContainerQueryAnd)
Visit a node of type
ContainerQueryAnd
. Read more§fn visit_mut_container_query_not(&mut self, node: &mut ContainerQueryNot)
fn visit_mut_container_query_not(&mut self, node: &mut ContainerQueryNot)
Visit a node of type
ContainerQueryNot
. Read more§fn visit_mut_container_query_or(&mut self, node: &mut ContainerQueryOr)
fn visit_mut_container_query_or(&mut self, node: &mut ContainerQueryOr)
Visit a node of type
ContainerQueryOr
. Read more§fn visit_mut_container_query_type(&mut self, node: &mut ContainerQueryType)
fn visit_mut_container_query_type(&mut self, node: &mut ContainerQueryType)
Visit a node of type
ContainerQueryType
. Read more§fn visit_mut_container_query_types(
&mut self,
node: &mut Vec<ContainerQueryType>,
)
fn visit_mut_container_query_types( &mut self, node: &mut Vec<ContainerQueryType>, )
Visit a node of type
Vec < ContainerQueryType >
. Read more§fn visit_mut_custom_highlight_name(&mut self, node: &mut CustomHighlightName)
fn visit_mut_custom_highlight_name(&mut self, node: &mut CustomHighlightName)
Visit a node of type
CustomHighlightName
. Read more§fn visit_mut_custom_ident(&mut self, node: &mut CustomIdent)
fn visit_mut_custom_ident(&mut self, node: &mut CustomIdent)
Visit a node of type
CustomIdent
. Read more§fn visit_mut_custom_idents(&mut self, node: &mut Vec<CustomIdent>)
fn visit_mut_custom_idents(&mut self, node: &mut Vec<CustomIdent>)
Visit a node of type
Vec < CustomIdent >
. Read more§fn visit_mut_custom_media_query(&mut self, node: &mut CustomMediaQuery)
fn visit_mut_custom_media_query(&mut self, node: &mut CustomMediaQuery)
Visit a node of type
CustomMediaQuery
. Read more§fn visit_mut_custom_media_query_media_type(
&mut self,
node: &mut CustomMediaQueryMediaType,
)
fn visit_mut_custom_media_query_media_type( &mut self, node: &mut CustomMediaQueryMediaType, )
Visit a node of type
CustomMediaQueryMediaType
. Read more§fn visit_mut_custom_property_name(&mut self, node: &mut CustomPropertyName)
fn visit_mut_custom_property_name(&mut self, node: &mut CustomPropertyName)
Visit a node of type
CustomPropertyName
. Read more§fn visit_mut_dashed_ident(&mut self, node: &mut DashedIdent)
fn visit_mut_dashed_ident(&mut self, node: &mut DashedIdent)
Visit a node of type
DashedIdent
. Read more§fn visit_mut_declaration(&mut self, node: &mut Declaration)
fn visit_mut_declaration(&mut self, node: &mut Declaration)
Visit a node of type
Declaration
. Read more§fn visit_mut_declaration_name(&mut self, node: &mut DeclarationName)
fn visit_mut_declaration_name(&mut self, node: &mut DeclarationName)
Visit a node of type
DeclarationName
. Read more§fn visit_mut_declaration_or_at_rule(&mut self, node: &mut DeclarationOrAtRule)
fn visit_mut_declaration_or_at_rule(&mut self, node: &mut DeclarationOrAtRule)
Visit a node of type
DeclarationOrAtRule
. Read more§fn visit_mut_delimiter(&mut self, node: &mut Delimiter)
fn visit_mut_delimiter(&mut self, node: &mut Delimiter)
Visit a node of type
Delimiter
. Read more§fn visit_mut_delimiter_value(&mut self, node: &mut DelimiterValue)
fn visit_mut_delimiter_value(&mut self, node: &mut DelimiterValue)
Visit a node of type
DelimiterValue
. Read more§fn visit_mut_dimension(&mut self, node: &mut Dimension)
fn visit_mut_dimension(&mut self, node: &mut Dimension)
Visit a node of type
Dimension
. Read more§fn visit_mut_dimension_token(&mut self, node: &mut DimensionToken)
fn visit_mut_dimension_token(&mut self, node: &mut DimensionToken)
Visit a node of type
DimensionToken
. Read more§fn visit_mut_document_prelude(&mut self, node: &mut DocumentPrelude)
fn visit_mut_document_prelude(&mut self, node: &mut DocumentPrelude)
Visit a node of type
DocumentPrelude
. Read more§fn visit_mut_document_prelude_matching_function(
&mut self,
node: &mut DocumentPreludeMatchingFunction,
)
fn visit_mut_document_prelude_matching_function( &mut self, node: &mut DocumentPreludeMatchingFunction, )
Visit a node of type
DocumentPreludeMatchingFunction
. Read more§fn visit_mut_document_prelude_matching_functions(
&mut self,
node: &mut Vec<DocumentPreludeMatchingFunction>,
)
fn visit_mut_document_prelude_matching_functions( &mut self, node: &mut Vec<DocumentPreludeMatchingFunction>, )
Visit a node of type
Vec < DocumentPreludeMatchingFunction >
. Read more§fn visit_mut_extension_name(&mut self, node: &mut ExtensionName)
fn visit_mut_extension_name(&mut self, node: &mut ExtensionName)
Visit a node of type
ExtensionName
. Read more§fn visit_mut_family_name(&mut self, node: &mut FamilyName)
fn visit_mut_family_name(&mut self, node: &mut FamilyName)
Visit a node of type
FamilyName
. Read more§fn visit_mut_family_names(&mut self, node: &mut Vec<FamilyName>)
fn visit_mut_family_names(&mut self, node: &mut Vec<FamilyName>)
Visit a node of type
Vec < FamilyName >
. Read more§fn visit_mut_flex(&mut self, node: &mut Flex)
fn visit_mut_flex(&mut self, node: &mut Flex)
Visit a node of type
Flex
. Read more§fn visit_mut_font_feature_values_prelude(
&mut self,
node: &mut FontFeatureValuesPrelude,
)
fn visit_mut_font_feature_values_prelude( &mut self, node: &mut FontFeatureValuesPrelude, )
Visit a node of type
FontFeatureValuesPrelude
. Read more§fn visit_mut_forgiving_complex_selector(
&mut self,
node: &mut ForgivingComplexSelector,
)
fn visit_mut_forgiving_complex_selector( &mut self, node: &mut ForgivingComplexSelector, )
Visit a node of type
ForgivingComplexSelector
. Read more§fn visit_mut_forgiving_complex_selectors(
&mut self,
node: &mut Vec<ForgivingComplexSelector>,
)
fn visit_mut_forgiving_complex_selectors( &mut self, node: &mut Vec<ForgivingComplexSelector>, )
Visit a node of type
Vec < ForgivingComplexSelector >
. Read more§fn visit_mut_forgiving_relative_selector(
&mut self,
node: &mut ForgivingRelativeSelector,
)
fn visit_mut_forgiving_relative_selector( &mut self, node: &mut ForgivingRelativeSelector, )
Visit a node of type
ForgivingRelativeSelector
. Read more§fn visit_mut_forgiving_relative_selector_list(
&mut self,
node: &mut ForgivingRelativeSelectorList,
)
fn visit_mut_forgiving_relative_selector_list( &mut self, node: &mut ForgivingRelativeSelectorList, )
Visit a node of type
ForgivingRelativeSelectorList
. Read more§fn visit_mut_forgiving_relative_selectors(
&mut self,
node: &mut Vec<ForgivingRelativeSelector>,
)
fn visit_mut_forgiving_relative_selectors( &mut self, node: &mut Vec<ForgivingRelativeSelector>, )
Visit a node of type
Vec < ForgivingRelativeSelector >
. Read more§fn visit_mut_forgiving_selector_list(
&mut self,
node: &mut ForgivingSelectorList,
)
fn visit_mut_forgiving_selector_list( &mut self, node: &mut ForgivingSelectorList, )
Visit a node of type
ForgivingSelectorList
. Read more§fn visit_mut_frequency(&mut self, node: &mut Frequency)
fn visit_mut_frequency(&mut self, node: &mut Frequency)
Visit a node of type
Frequency
. Read more§fn visit_mut_frequency_percentage(&mut self, node: &mut FrequencyPercentage)
fn visit_mut_frequency_percentage(&mut self, node: &mut FrequencyPercentage)
Visit a node of type
FrequencyPercentage
. Read more§fn visit_mut_function(&mut self, node: &mut Function)
fn visit_mut_function(&mut self, node: &mut Function)
Visit a node of type
Function
. Read more§fn visit_mut_function_name(&mut self, node: &mut FunctionName)
fn visit_mut_function_name(&mut self, node: &mut FunctionName)
Visit a node of type
FunctionName
. Read more§fn visit_mut_general_enclosed(&mut self, node: &mut GeneralEnclosed)
fn visit_mut_general_enclosed(&mut self, node: &mut GeneralEnclosed)
Visit a node of type
GeneralEnclosed
. Read more§fn visit_mut_hex_color(&mut self, node: &mut HexColor)
fn visit_mut_hex_color(&mut self, node: &mut HexColor)
Visit a node of type
HexColor
. Read more§fn visit_mut_hue(&mut self, node: &mut Hue)
fn visit_mut_hue(&mut self, node: &mut Hue)
Visit a node of type
Hue
. Read more§fn visit_mut_id_selector(&mut self, node: &mut IdSelector)
fn visit_mut_id_selector(&mut self, node: &mut IdSelector)
Visit a node of type
IdSelector
. Read more§fn visit_mut_ident(&mut self, node: &mut Ident)
fn visit_mut_ident(&mut self, node: &mut Ident)
Visit a node of type
Ident
. Read more§fn visit_mut_idents(&mut self, node: &mut Vec<Ident>)
fn visit_mut_idents(&mut self, node: &mut Vec<Ident>)
Visit a node of type
Vec < Ident >
. Read more§fn visit_mut_import_conditions(&mut self, node: &mut ImportConditions)
fn visit_mut_import_conditions(&mut self, node: &mut ImportConditions)
Visit a node of type
ImportConditions
. Read more§fn visit_mut_import_href(&mut self, node: &mut ImportHref)
fn visit_mut_import_href(&mut self, node: &mut ImportHref)
Visit a node of type
ImportHref
. Read more§fn visit_mut_import_layer_name(&mut self, node: &mut ImportLayerName)
fn visit_mut_import_layer_name(&mut self, node: &mut ImportLayerName)
Visit a node of type
ImportLayerName
. Read more§fn visit_mut_import_prelude(&mut self, node: &mut ImportPrelude)
fn visit_mut_import_prelude(&mut self, node: &mut ImportPrelude)
Visit a node of type
ImportPrelude
. Read more§fn visit_mut_important_flag(&mut self, node: &mut ImportantFlag)
fn visit_mut_important_flag(&mut self, node: &mut ImportantFlag)
Visit a node of type
ImportantFlag
. Read more§fn visit_mut_integer(&mut self, node: &mut Integer)
fn visit_mut_integer(&mut self, node: &mut Integer)
Visit a node of type
Integer
. Read more§fn visit_mut_keyframe_block(&mut self, node: &mut KeyframeBlock)
fn visit_mut_keyframe_block(&mut self, node: &mut KeyframeBlock)
Visit a node of type
KeyframeBlock
. Read more§fn visit_mut_keyframe_selector(&mut self, node: &mut KeyframeSelector)
fn visit_mut_keyframe_selector(&mut self, node: &mut KeyframeSelector)
Visit a node of type
KeyframeSelector
. Read more§fn visit_mut_keyframe_selectors(&mut self, node: &mut Vec<KeyframeSelector>)
fn visit_mut_keyframe_selectors(&mut self, node: &mut Vec<KeyframeSelector>)
Visit a node of type
Vec < KeyframeSelector >
. Read more§fn visit_mut_keyframes_name(&mut self, node: &mut KeyframesName)
fn visit_mut_keyframes_name(&mut self, node: &mut KeyframesName)
Visit a node of type
KeyframesName
. Read more§fn visit_mut_keyframes_pseudo_function(
&mut self,
node: &mut KeyframesPseudoFunction,
)
fn visit_mut_keyframes_pseudo_function( &mut self, node: &mut KeyframesPseudoFunction, )
Visit a node of type
KeyframesPseudoFunction
. Read more§fn visit_mut_keyframes_pseudo_prefix(
&mut self,
node: &mut KeyframesPseudoPrefix,
)
fn visit_mut_keyframes_pseudo_prefix( &mut self, node: &mut KeyframesPseudoPrefix, )
Visit a node of type
KeyframesPseudoPrefix
. Read more§fn visit_mut_layer_name(&mut self, node: &mut LayerName)
fn visit_mut_layer_name(&mut self, node: &mut LayerName)
Visit a node of type
LayerName
. Read more§fn visit_mut_layer_name_list(&mut self, node: &mut LayerNameList)
fn visit_mut_layer_name_list(&mut self, node: &mut LayerNameList)
Visit a node of type
LayerNameList
. Read more§fn visit_mut_layer_names(&mut self, node: &mut Vec<LayerName>)
fn visit_mut_layer_names(&mut self, node: &mut Vec<LayerName>)
Visit a node of type
Vec < LayerName >
. Read more§fn visit_mut_layer_prelude(&mut self, node: &mut LayerPrelude)
fn visit_mut_layer_prelude(&mut self, node: &mut LayerPrelude)
Visit a node of type
LayerPrelude
. Read more§fn visit_mut_length(&mut self, node: &mut Length)
fn visit_mut_length(&mut self, node: &mut Length)
Visit a node of type
Length
. Read more§fn visit_mut_length_percentage(&mut self, node: &mut LengthPercentage)
fn visit_mut_length_percentage(&mut self, node: &mut LengthPercentage)
Visit a node of type
LengthPercentage
. Read more§fn visit_mut_list_of_component_values(
&mut self,
node: &mut ListOfComponentValues,
)
fn visit_mut_list_of_component_values( &mut self, node: &mut ListOfComponentValues, )
Visit a node of type
ListOfComponentValues
. Read more§fn visit_mut_media_and(&mut self, node: &mut MediaAnd)
fn visit_mut_media_and(&mut self, node: &mut MediaAnd)
Visit a node of type
MediaAnd
. Read more§fn visit_mut_media_condition_all_type(
&mut self,
node: &mut MediaConditionAllType,
)
fn visit_mut_media_condition_all_type( &mut self, node: &mut MediaConditionAllType, )
Visit a node of type
MediaConditionAllType
. Read more§fn visit_mut_media_condition_all_types(
&mut self,
node: &mut Vec<MediaConditionAllType>,
)
fn visit_mut_media_condition_all_types( &mut self, node: &mut Vec<MediaConditionAllType>, )
Visit a node of type
Vec < MediaConditionAllType >
. Read more§fn visit_mut_media_condition_type(&mut self, node: &mut MediaConditionType)
fn visit_mut_media_condition_type(&mut self, node: &mut MediaConditionType)
Visit a node of type
MediaConditionType
. Read more§fn visit_mut_media_condition_without_or_type(
&mut self,
node: &mut MediaConditionWithoutOrType,
)
fn visit_mut_media_condition_without_or_type( &mut self, node: &mut MediaConditionWithoutOrType, )
Visit a node of type
MediaConditionWithoutOrType
. Read more§fn visit_mut_media_condition_without_or_types(
&mut self,
node: &mut Vec<MediaConditionWithoutOrType>,
)
fn visit_mut_media_condition_without_or_types( &mut self, node: &mut Vec<MediaConditionWithoutOrType>, )
Visit a node of type
Vec < MediaConditionWithoutOrType >
. Read more§fn visit_mut_media_feature(&mut self, node: &mut MediaFeature)
fn visit_mut_media_feature(&mut self, node: &mut MediaFeature)
Visit a node of type
MediaFeature
. Read more§fn visit_mut_media_feature_boolean(&mut self, node: &mut MediaFeatureBoolean)
fn visit_mut_media_feature_boolean(&mut self, node: &mut MediaFeatureBoolean)
Visit a node of type
MediaFeatureBoolean
. Read more§fn visit_mut_media_feature_name(&mut self, node: &mut MediaFeatureName)
fn visit_mut_media_feature_name(&mut self, node: &mut MediaFeatureName)
Visit a node of type
MediaFeatureName
. Read more§fn visit_mut_media_feature_plain(&mut self, node: &mut MediaFeaturePlain)
fn visit_mut_media_feature_plain(&mut self, node: &mut MediaFeaturePlain)
Visit a node of type
MediaFeaturePlain
. Read more§fn visit_mut_media_feature_range(&mut self, node: &mut MediaFeatureRange)
fn visit_mut_media_feature_range(&mut self, node: &mut MediaFeatureRange)
Visit a node of type
MediaFeatureRange
. Read more§fn visit_mut_media_feature_range_comparison(
&mut self,
node: &mut MediaFeatureRangeComparison,
)
fn visit_mut_media_feature_range_comparison( &mut self, node: &mut MediaFeatureRangeComparison, )
Visit a node of type
MediaFeatureRangeComparison
. Read more§fn visit_mut_media_feature_range_interval(
&mut self,
node: &mut MediaFeatureRangeInterval,
)
fn visit_mut_media_feature_range_interval( &mut self, node: &mut MediaFeatureRangeInterval, )
Visit a node of type
MediaFeatureRangeInterval
. Read more§fn visit_mut_media_feature_value(&mut self, node: &mut MediaFeatureValue)
fn visit_mut_media_feature_value(&mut self, node: &mut MediaFeatureValue)
Visit a node of type
MediaFeatureValue
. Read more§fn visit_mut_media_not(&mut self, node: &mut MediaNot)
fn visit_mut_media_not(&mut self, node: &mut MediaNot)
Visit a node of type
MediaNot
. Read more§fn visit_mut_media_or(&mut self, node: &mut MediaOr)
fn visit_mut_media_or(&mut self, node: &mut MediaOr)
Visit a node of type
MediaOr
. Read more§fn visit_mut_media_query_list(&mut self, node: &mut MediaQueryList)
fn visit_mut_media_query_list(&mut self, node: &mut MediaQueryList)
Visit a node of type
MediaQueryList
. Read more§fn visit_mut_media_querys(&mut self, node: &mut Vec<MediaQuery>)
fn visit_mut_media_querys(&mut self, node: &mut Vec<MediaQuery>)
Visit a node of type
Vec < MediaQuery >
. Read more§fn visit_mut_media_type(&mut self, node: &mut MediaType)
fn visit_mut_media_type(&mut self, node: &mut MediaType)
Visit a node of type
MediaType
. Read more§fn visit_mut_named_namespace(&mut self, node: &mut NamedNamespace)
fn visit_mut_named_namespace(&mut self, node: &mut NamedNamespace)
Visit a node of type
NamedNamespace
. Read more§fn visit_mut_namespace(&mut self, node: &mut Namespace)
fn visit_mut_namespace(&mut self, node: &mut Namespace)
Visit a node of type
Namespace
. Read more§fn visit_mut_namespace_prefix(&mut self, node: &mut NamespacePrefix)
fn visit_mut_namespace_prefix(&mut self, node: &mut NamespacePrefix)
Visit a node of type
NamespacePrefix
. Read more§fn visit_mut_namespace_prelude(&mut self, node: &mut NamespacePrelude)
fn visit_mut_namespace_prelude(&mut self, node: &mut NamespacePrelude)
Visit a node of type
NamespacePrelude
. Read more§fn visit_mut_namespace_prelude_uri(&mut self, node: &mut NamespacePreludeUri)
fn visit_mut_namespace_prelude_uri(&mut self, node: &mut NamespacePreludeUri)
Visit a node of type
NamespacePreludeUri
. Read more§fn visit_mut_nesting_selector(&mut self, node: &mut NestingSelector)
fn visit_mut_nesting_selector(&mut self, node: &mut NestingSelector)
Visit a node of type
NestingSelector
. Read more§fn visit_mut_number(&mut self, node: &mut Number)
fn visit_mut_number(&mut self, node: &mut Number)
Visit a node of type
Number
. Read more§fn visit_mut_number_type(&mut self, node: &mut NumberType)
fn visit_mut_number_type(&mut self, node: &mut NumberType)
Visit a node of type
NumberType
. Read more§fn visit_mut_opt_at_rule_prelude(
&mut self,
node: &mut Option<Box<AtRulePrelude>>,
)
fn visit_mut_opt_at_rule_prelude( &mut self, node: &mut Option<Box<AtRulePrelude>>, )
Visit a node of type
Option < Box < AtRulePrelude > >
. Read more§fn visit_mut_opt_atom(&mut self, node: &mut Option<Atom>)
fn visit_mut_opt_atom(&mut self, node: &mut Option<Atom>)
Visit a node of type
Option < swc_atoms :: Atom >
. Read more§fn visit_mut_opt_attribute_selector_matcher(
&mut self,
node: &mut Option<AttributeSelectorMatcher>,
)
fn visit_mut_opt_attribute_selector_matcher( &mut self, node: &mut Option<AttributeSelectorMatcher>, )
Visit a node of type
Option < AttributeSelectorMatcher >
. Read more§fn visit_mut_opt_attribute_selector_modifier(
&mut self,
node: &mut Option<AttributeSelectorModifier>,
)
fn visit_mut_opt_attribute_selector_modifier( &mut self, node: &mut Option<AttributeSelectorModifier>, )
Visit a node of type
Option < AttributeSelectorModifier >
. Read more§fn visit_mut_opt_attribute_selector_value(
&mut self,
node: &mut Option<AttributeSelectorValue>,
)
fn visit_mut_opt_attribute_selector_value( &mut self, node: &mut Option<AttributeSelectorValue>, )
Visit a node of type
Option < AttributeSelectorValue >
. Read more§fn visit_mut_opt_combinator(&mut self, node: &mut Option<Combinator>)
fn visit_mut_opt_combinator(&mut self, node: &mut Option<Combinator>)
Visit a node of type
Option < Combinator >
. Read more§fn visit_mut_opt_container_name(&mut self, node: &mut Option<ContainerName>)
fn visit_mut_opt_container_name(&mut self, node: &mut Option<ContainerName>)
Visit a node of type
Option < ContainerName >
. Read more§fn visit_mut_opt_forgiving_selector_list(
&mut self,
node: &mut Option<ForgivingSelectorList>,
)
fn visit_mut_opt_forgiving_selector_list( &mut self, node: &mut Option<ForgivingSelectorList>, )
Visit a node of type
Option < ForgivingSelectorList >
. Read more§fn visit_mut_opt_function(&mut self, node: &mut Option<Box<Function>>)
fn visit_mut_opt_function(&mut self, node: &mut Option<Box<Function>>)
Visit a node of type
Option < Box < Function > >
. Read more§fn visit_mut_opt_ident(&mut self, node: &mut Option<Ident>)
fn visit_mut_opt_ident(&mut self, node: &mut Option<Ident>)
Visit a node of type
Option < Ident >
. Read more§fn visit_mut_opt_import_conditions(
&mut self,
node: &mut Option<Box<ImportConditions>>,
)
fn visit_mut_opt_import_conditions( &mut self, node: &mut Option<Box<ImportConditions>>, )
Visit a node of type
Option < Box < ImportConditions > >
. Read more§fn visit_mut_opt_import_layer_name(
&mut self,
node: &mut Option<Box<ImportLayerName>>,
)
fn visit_mut_opt_import_layer_name( &mut self, node: &mut Option<Box<ImportLayerName>>, )
Visit a node of type
Option < Box < ImportLayerName > >
. Read more§fn visit_mut_opt_important_flag(&mut self, node: &mut Option<ImportantFlag>)
fn visit_mut_opt_important_flag(&mut self, node: &mut Option<ImportantFlag>)
Visit a node of type
Option < ImportantFlag >
. Read more§fn visit_mut_opt_media_condition_type(
&mut self,
node: &mut Option<Box<MediaConditionType>>,
)
fn visit_mut_opt_media_condition_type( &mut self, node: &mut Option<Box<MediaConditionType>>, )
Visit a node of type
Option < Box < MediaConditionType > >
. Read more§fn visit_mut_opt_media_query_list(
&mut self,
node: &mut Option<Box<MediaQueryList>>,
)
fn visit_mut_opt_media_query_list( &mut self, node: &mut Option<Box<MediaQueryList>>, )
Visit a node of type
Option < Box < MediaQueryList > >
. Read more§fn visit_mut_opt_media_type(&mut self, node: &mut Option<MediaType>)
fn visit_mut_opt_media_type(&mut self, node: &mut Option<MediaType>)
Visit a node of type
Option < MediaType >
. Read more§fn visit_mut_opt_namespace(&mut self, node: &mut Option<Namespace>)
fn visit_mut_opt_namespace(&mut self, node: &mut Option<Namespace>)
Visit a node of type
Option < Namespace >
. Read more§fn visit_mut_opt_namespace_prefix(&mut self, node: &mut Option<NamespacePrefix>)
fn visit_mut_opt_namespace_prefix(&mut self, node: &mut Option<NamespacePrefix>)
Visit a node of type
Option < NamespacePrefix >
. Read more§fn visit_mut_opt_nesting_selector(&mut self, node: &mut Option<NestingSelector>)
fn visit_mut_opt_nesting_selector(&mut self, node: &mut Option<NestingSelector>)
Visit a node of type
Option < NestingSelector >
. Read more§fn visit_mut_opt_number(&mut self, node: &mut Option<Number>)
fn visit_mut_opt_number(&mut self, node: &mut Option<Number>)
Visit a node of type
Option < Number >
. Read more§fn visit_mut_opt_page_selector_pseudos(
&mut self,
node: &mut Option<Vec<PageSelectorPseudo>>,
)
fn visit_mut_opt_page_selector_pseudos( &mut self, node: &mut Option<Vec<PageSelectorPseudo>>, )
Visit a node of type
Option < Vec < PageSelectorPseudo > >
. Read more§fn visit_mut_opt_page_selector_type(
&mut self,
node: &mut Option<PageSelectorType>,
)
fn visit_mut_opt_page_selector_type( &mut self, node: &mut Option<PageSelectorType>, )
Visit a node of type
Option < PageSelectorType >
. Read more§fn visit_mut_opt_pseudo_class_selector_childrens(
&mut self,
node: &mut Option<Vec<PseudoClassSelectorChildren>>,
)
fn visit_mut_opt_pseudo_class_selector_childrens( &mut self, node: &mut Option<Vec<PseudoClassSelectorChildren>>, )
Visit a node of type
Option < Vec < PseudoClassSelectorChildren > >
. Read more§fn visit_mut_opt_pseudo_element_selector_childrens(
&mut self,
node: &mut Option<Vec<PseudoElementSelectorChildren>>,
)
fn visit_mut_opt_pseudo_element_selector_childrens( &mut self, node: &mut Option<Vec<PseudoElementSelectorChildren>>, )
Visit a node of type
Option < Vec < PseudoElementSelectorChildren > >
. Read more§fn visit_mut_opt_simple_block(&mut self, node: &mut Option<SimpleBlock>)
fn visit_mut_opt_simple_block(&mut self, node: &mut Option<SimpleBlock>)
Visit a node of type
Option < SimpleBlock >
. Read more§fn visit_mut_opt_type_selector(&mut self, node: &mut Option<Box<TypeSelector>>)
fn visit_mut_opt_type_selector(&mut self, node: &mut Option<Box<TypeSelector>>)
Visit a node of type
Option < Box < TypeSelector > >
. Read more§fn visit_mut_opt_url_modifiers(&mut self, node: &mut Option<Vec<UrlModifier>>)
fn visit_mut_opt_url_modifiers(&mut self, node: &mut Option<Vec<UrlModifier>>)
Visit a node of type
Option < Vec < UrlModifier > >
. Read more§fn visit_mut_opt_url_value(&mut self, node: &mut Option<Box<UrlValue>>)
fn visit_mut_opt_url_value(&mut self, node: &mut Option<Box<UrlValue>>)
Visit a node of type
Option < Box < UrlValue > >
. Read more§fn visit_mut_page_selector(&mut self, node: &mut PageSelector)
fn visit_mut_page_selector(&mut self, node: &mut PageSelector)
Visit a node of type
PageSelector
. Read more§fn visit_mut_page_selector_list(&mut self, node: &mut PageSelectorList)
fn visit_mut_page_selector_list(&mut self, node: &mut PageSelectorList)
Visit a node of type
PageSelectorList
. Read more§fn visit_mut_page_selector_pseudo(&mut self, node: &mut PageSelectorPseudo)
fn visit_mut_page_selector_pseudo(&mut self, node: &mut PageSelectorPseudo)
Visit a node of type
PageSelectorPseudo
. Read more§fn visit_mut_page_selector_pseudos(
&mut self,
node: &mut Vec<PageSelectorPseudo>,
)
fn visit_mut_page_selector_pseudos( &mut self, node: &mut Vec<PageSelectorPseudo>, )
Visit a node of type
Vec < PageSelectorPseudo >
. Read more§fn visit_mut_page_selector_type(&mut self, node: &mut PageSelectorType)
fn visit_mut_page_selector_type(&mut self, node: &mut PageSelectorType)
Visit a node of type
PageSelectorType
. Read more§fn visit_mut_page_selectors(&mut self, node: &mut Vec<PageSelector>)
fn visit_mut_page_selectors(&mut self, node: &mut Vec<PageSelector>)
Visit a node of type
Vec < PageSelector >
. Read more§fn visit_mut_percentage(&mut self, node: &mut Percentage)
fn visit_mut_percentage(&mut self, node: &mut Percentage)
Visit a node of type
Percentage
. Read more§fn visit_mut_pseudo_class_selector(&mut self, node: &mut PseudoClassSelector)
fn visit_mut_pseudo_class_selector(&mut self, node: &mut PseudoClassSelector)
Visit a node of type
PseudoClassSelector
. Read more§fn visit_mut_pseudo_class_selector_children(
&mut self,
node: &mut PseudoClassSelectorChildren,
)
fn visit_mut_pseudo_class_selector_children( &mut self, node: &mut PseudoClassSelectorChildren, )
Visit a node of type
PseudoClassSelectorChildren
. Read more§fn visit_mut_pseudo_class_selector_childrens(
&mut self,
node: &mut Vec<PseudoClassSelectorChildren>,
)
fn visit_mut_pseudo_class_selector_childrens( &mut self, node: &mut Vec<PseudoClassSelectorChildren>, )
Visit a node of type
Vec < PseudoClassSelectorChildren >
. Read more§fn visit_mut_pseudo_element_selector(
&mut self,
node: &mut PseudoElementSelector,
)
fn visit_mut_pseudo_element_selector( &mut self, node: &mut PseudoElementSelector, )
Visit a node of type
PseudoElementSelector
. Read more§fn visit_mut_pseudo_element_selector_children(
&mut self,
node: &mut PseudoElementSelectorChildren,
)
fn visit_mut_pseudo_element_selector_children( &mut self, node: &mut PseudoElementSelectorChildren, )
Visit a node of type
PseudoElementSelectorChildren
. Read more§fn visit_mut_pseudo_element_selector_childrens(
&mut self,
node: &mut Vec<PseudoElementSelectorChildren>,
)
fn visit_mut_pseudo_element_selector_childrens( &mut self, node: &mut Vec<PseudoElementSelectorChildren>, )
Visit a node of type
Vec < PseudoElementSelectorChildren >
. Read more§fn visit_mut_qualified_rule(&mut self, node: &mut QualifiedRule)
fn visit_mut_qualified_rule(&mut self, node: &mut QualifiedRule)
Visit a node of type
QualifiedRule
. Read more§fn visit_mut_qualified_rule_prelude(&mut self, node: &mut QualifiedRulePrelude)
fn visit_mut_qualified_rule_prelude(&mut self, node: &mut QualifiedRulePrelude)
Visit a node of type
QualifiedRulePrelude
. Read more§fn visit_mut_query_in_parens(&mut self, node: &mut QueryInParens)
fn visit_mut_query_in_parens(&mut self, node: &mut QueryInParens)
Visit a node of type
QueryInParens
. Read more§fn visit_mut_ratio(&mut self, node: &mut Ratio)
fn visit_mut_ratio(&mut self, node: &mut Ratio)
Visit a node of type
Ratio
. Read more§fn visit_mut_relative_selector(&mut self, node: &mut RelativeSelector)
fn visit_mut_relative_selector(&mut self, node: &mut RelativeSelector)
Visit a node of type
RelativeSelector
. Read more§fn visit_mut_relative_selector_list(&mut self, node: &mut RelativeSelectorList)
fn visit_mut_relative_selector_list(&mut self, node: &mut RelativeSelectorList)
Visit a node of type
RelativeSelectorList
. Read more§fn visit_mut_relative_selectors(&mut self, node: &mut Vec<RelativeSelector>)
fn visit_mut_relative_selectors(&mut self, node: &mut Vec<RelativeSelector>)
Visit a node of type
Vec < RelativeSelector >
. Read more§fn visit_mut_resolution(&mut self, node: &mut Resolution)
fn visit_mut_resolution(&mut self, node: &mut Resolution)
Visit a node of type
Resolution
. Read more§fn visit_mut_rule(&mut self, node: &mut Rule)
fn visit_mut_rule(&mut self, node: &mut Rule)
Visit a node of type
Rule
. Read more§fn visit_mut_scope_range(&mut self, node: &mut ScopeRange)
fn visit_mut_scope_range(&mut self, node: &mut ScopeRange)
Visit a node of type
ScopeRange
. Read more§fn visit_mut_selector_list(&mut self, node: &mut SelectorList)
fn visit_mut_selector_list(&mut self, node: &mut SelectorList)
Visit a node of type
SelectorList
. Read more§fn visit_mut_sequence_of_custom_idents(
&mut self,
node: &mut SequenceOfCustomIdents,
)
fn visit_mut_sequence_of_custom_idents( &mut self, node: &mut SequenceOfCustomIdents, )
Visit a node of type
SequenceOfCustomIdents
. Read more§fn visit_mut_simple_block(&mut self, node: &mut SimpleBlock)
fn visit_mut_simple_block(&mut self, node: &mut SimpleBlock)
Visit a node of type
SimpleBlock
. Read more§fn visit_mut_size_feature(&mut self, node: &mut SizeFeature)
fn visit_mut_size_feature(&mut self, node: &mut SizeFeature)
Visit a node of type
SizeFeature
. Read more§fn visit_mut_size_feature_boolean(&mut self, node: &mut SizeFeatureBoolean)
fn visit_mut_size_feature_boolean(&mut self, node: &mut SizeFeatureBoolean)
Visit a node of type
SizeFeatureBoolean
. Read more§fn visit_mut_size_feature_name(&mut self, node: &mut SizeFeatureName)
fn visit_mut_size_feature_name(&mut self, node: &mut SizeFeatureName)
Visit a node of type
SizeFeatureName
. Read more§fn visit_mut_size_feature_plain(&mut self, node: &mut SizeFeaturePlain)
fn visit_mut_size_feature_plain(&mut self, node: &mut SizeFeaturePlain)
Visit a node of type
SizeFeaturePlain
. Read more§fn visit_mut_size_feature_range(&mut self, node: &mut SizeFeatureRange)
fn visit_mut_size_feature_range(&mut self, node: &mut SizeFeatureRange)
Visit a node of type
SizeFeatureRange
. Read more§fn visit_mut_size_feature_range_comparison(
&mut self,
node: &mut SizeFeatureRangeComparison,
)
fn visit_mut_size_feature_range_comparison( &mut self, node: &mut SizeFeatureRangeComparison, )
Visit a node of type
SizeFeatureRangeComparison
. Read more§fn visit_mut_size_feature_range_interval(
&mut self,
node: &mut SizeFeatureRangeInterval,
)
fn visit_mut_size_feature_range_interval( &mut self, node: &mut SizeFeatureRangeInterval, )
Visit a node of type
SizeFeatureRangeInterval
. Read more§fn visit_mut_size_feature_value(&mut self, node: &mut SizeFeatureValue)
fn visit_mut_size_feature_value(&mut self, node: &mut SizeFeatureValue)
Visit a node of type
SizeFeatureValue
. Read more§fn visit_mut_span(&mut self, node: &mut Span)
fn visit_mut_span(&mut self, node: &mut Span)
Visit a node of type
swc_common :: Span
. Read more§fn visit_mut_str(&mut self, node: &mut Str)
fn visit_mut_str(&mut self, node: &mut Str)
Visit a node of type
Str
. Read more§fn visit_mut_style_block(&mut self, node: &mut StyleBlock)
fn visit_mut_style_block(&mut self, node: &mut StyleBlock)
Visit a node of type
StyleBlock
. Read more§fn visit_mut_stylesheet(&mut self, node: &mut Stylesheet)
fn visit_mut_stylesheet(&mut self, node: &mut Stylesheet)
Visit a node of type
Stylesheet
. Read more§fn visit_mut_subclass_selector(&mut self, node: &mut SubclassSelector)
fn visit_mut_subclass_selector(&mut self, node: &mut SubclassSelector)
Visit a node of type
SubclassSelector
. Read more§fn visit_mut_subclass_selectors(&mut self, node: &mut Vec<SubclassSelector>)
fn visit_mut_subclass_selectors(&mut self, node: &mut Vec<SubclassSelector>)
Visit a node of type
Vec < SubclassSelector >
. Read more§fn visit_mut_supports_and(&mut self, node: &mut SupportsAnd)
fn visit_mut_supports_and(&mut self, node: &mut SupportsAnd)
Visit a node of type
SupportsAnd
. Read more§fn visit_mut_supports_condition_type(
&mut self,
node: &mut SupportsConditionType,
)
fn visit_mut_supports_condition_type( &mut self, node: &mut SupportsConditionType, )
Visit a node of type
SupportsConditionType
. Read more§fn visit_mut_supports_condition_types(
&mut self,
node: &mut Vec<SupportsConditionType>,
)
fn visit_mut_supports_condition_types( &mut self, node: &mut Vec<SupportsConditionType>, )
Visit a node of type
Vec < SupportsConditionType >
. Read more§fn visit_mut_supports_feature(&mut self, node: &mut SupportsFeature)
fn visit_mut_supports_feature(&mut self, node: &mut SupportsFeature)
Visit a node of type
SupportsFeature
. Read more§fn visit_mut_supports_in_parens(&mut self, node: &mut SupportsInParens)
fn visit_mut_supports_in_parens(&mut self, node: &mut SupportsInParens)
Visit a node of type
SupportsInParens
. Read more§fn visit_mut_supports_not(&mut self, node: &mut SupportsNot)
fn visit_mut_supports_not(&mut self, node: &mut SupportsNot)
Visit a node of type
SupportsNot
. Read more§fn visit_mut_supports_or(&mut self, node: &mut SupportsOr)
fn visit_mut_supports_or(&mut self, node: &mut SupportsOr)
Visit a node of type
SupportsOr
. Read more§fn visit_mut_tag_name_selector(&mut self, node: &mut TagNameSelector)
fn visit_mut_tag_name_selector(&mut self, node: &mut TagNameSelector)
Visit a node of type
TagNameSelector
. Read more§fn visit_mut_time(&mut self, node: &mut Time)
fn visit_mut_time(&mut self, node: &mut Time)
Visit a node of type
Time
. Read more§fn visit_mut_time_percentage(&mut self, node: &mut TimePercentage)
fn visit_mut_time_percentage(&mut self, node: &mut TimePercentage)
Visit a node of type
TimePercentage
. Read more§fn visit_mut_token(&mut self, node: &mut Token)
fn visit_mut_token(&mut self, node: &mut Token)
Visit a node of type
Token
. Read more§fn visit_mut_token_and_span(&mut self, node: &mut TokenAndSpan)
fn visit_mut_token_and_span(&mut self, node: &mut TokenAndSpan)
Visit a node of type
TokenAndSpan
. Read more§fn visit_mut_type_selector(&mut self, node: &mut TypeSelector)
fn visit_mut_type_selector(&mut self, node: &mut TypeSelector)
Visit a node of type
TypeSelector
. Read more§fn visit_mut_unicode_range(&mut self, node: &mut UnicodeRange)
fn visit_mut_unicode_range(&mut self, node: &mut UnicodeRange)
Visit a node of type
UnicodeRange
. Read more§fn visit_mut_universal_selector(&mut self, node: &mut UniversalSelector)
fn visit_mut_universal_selector(&mut self, node: &mut UniversalSelector)
Visit a node of type
UniversalSelector
. Read more§fn visit_mut_unknown_dimension(&mut self, node: &mut UnknownDimension)
fn visit_mut_unknown_dimension(&mut self, node: &mut UnknownDimension)
Visit a node of type
UnknownDimension
. Read more§fn visit_mut_url(&mut self, node: &mut Url)
fn visit_mut_url(&mut self, node: &mut Url)
Visit a node of type
Url
. Read more§fn visit_mut_url_key_value(&mut self, node: &mut UrlKeyValue)
fn visit_mut_url_key_value(&mut self, node: &mut UrlKeyValue)
Visit a node of type
UrlKeyValue
. Read more§fn visit_mut_url_modifier(&mut self, node: &mut UrlModifier)
fn visit_mut_url_modifier(&mut self, node: &mut UrlModifier)
Visit a node of type
UrlModifier
. Read more§fn visit_mut_url_modifiers(&mut self, node: &mut Vec<UrlModifier>)
fn visit_mut_url_modifiers(&mut self, node: &mut Vec<UrlModifier>)
Visit a node of type
Vec < UrlModifier >
. Read more§fn visit_mut_url_value(&mut self, node: &mut UrlValue)
fn visit_mut_url_value(&mut self, node: &mut UrlValue)
Visit a node of type
UrlValue
. Read more§fn visit_mut_url_value_raw(&mut self, node: &mut UrlValueRaw)
fn visit_mut_url_value_raw(&mut self, node: &mut UrlValueRaw)
Visit a node of type
UrlValueRaw
. Read more§fn visit_mut_wq_name(&mut self, node: &mut WqName)
fn visit_mut_wq_name(&mut self, node: &mut WqName)
Visit a node of type
WqName
. Read moreAuto Trait Implementations§
impl Freeze for Compiler
impl RefUnwindSafe for Compiler
impl Send for Compiler
impl Sync for Compiler
impl Unpin for Compiler
impl UnwindSafe for Compiler
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Conv for T
impl<T> Conv for T
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.
§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Set the foreground color generically Read more
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Set the background color generically. Read more
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to magenta
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Change the foreground color to the terminal default
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Change the background color to the terminal default
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Change the foreground color to bright black
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Change the background color to bright black
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Change the foreground color to bright red
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Change the background color to bright red
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Change the foreground color to bright green
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Change the background color to bright green
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Change the foreground color to bright yellow
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Change the background color to bright yellow
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Change the foreground color to bright blue
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Change the background color to bright blue
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright magenta
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright magenta
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright purple
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright purple
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Change the foreground color to bright cyan
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Change the background color to bright cyan
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Change the foreground color to bright white
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Change the background color to bright white
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Make the text blink (but fast!)
Hide the text
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Cross out the text
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either
OwoColorize::fg
or
a color-specific method, such as OwoColorize::green
, Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either
OwoColorize::bg
or
a color-specific method, such as OwoColorize::on_yellow
, Read more§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the foreground color to a specific RGB value.
§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the background color to a specific RGB value.
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Sets the background color to an RGB value.
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.