pub struct Compiler { /* private fields */ }
Expand description

Compiles a modern CSS file to a CSS file which works with old browsers.

Implementations§

source§

impl Compiler

source

pub fn new(config: Config) -> Self

Trait Implementations§

source§

impl Debug for Compiler

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl VisitMut for Compiler

source§

fn visit_mut_at_rule(&mut self, n: &mut AtRule)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_supports_condition(&mut self, n: &mut SupportsCondition)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_query(&mut self, n: &mut MediaQuery)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_condition(&mut self, n: &mut MediaCondition)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_condition_without_or( &mut self, n: &mut MediaConditionWithoutOr )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_rules(&mut self, n: &mut Vec<Rule>)

source§

fn visit_mut_media_in_parens(&mut self, n: &mut MediaInParens)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_compound_selector(&mut self, n: &mut CompoundSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_component_value(&mut self, n: &mut ComponentValue)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_absolute_color_base(&mut self, n: &mut AbsoluteColorBase)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_alpha_value(&mut self, n: &mut AlphaValue)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_an_plus_b(&mut self, n: &mut AnPlusB)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_an_plus_b_notation(&mut self, n: &mut AnPlusBNotation)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_angle(&mut self, n: &mut Angle)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_angle_percentage(&mut self, n: &mut AnglePercentage)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_any_namespace(&mut self, n: &mut AnyNamespace)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_at_rule_name(&mut self, n: &mut AtRuleName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_at_rule_prelude(&mut self, n: &mut AtRulePrelude)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_atom(&mut self, n: &mut Atom)

source§

fn visit_mut_attribute_selector(&mut self, n: &mut AttributeSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_attribute_selector_matcher( &mut self, n: &mut AttributeSelectorMatcher )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_attribute_selector_matcher_value( &mut self, n: &mut AttributeSelectorMatcherValue )

source§

fn visit_mut_attribute_selector_modifier( &mut self, n: &mut AttributeSelectorModifier )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_attribute_selector_value(&mut self, n: &mut AttributeSelectorValue)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_calc_operator(&mut self, n: &mut CalcOperator)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_calc_operator_type(&mut self, n: &mut CalcOperatorType)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_calc_product(&mut self, n: &mut CalcProduct)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_calc_product_or_operator(&mut self, n: &mut CalcProductOrOperator)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_calc_product_or_operators( &mut self, n: &mut Vec<CalcProductOrOperator, Global> )

source§

fn visit_mut_calc_sum(&mut self, n: &mut CalcSum)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_calc_value(&mut self, n: &mut CalcValue)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_calc_value_or_operator(&mut self, n: &mut CalcValueOrOperator)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_calc_value_or_operators( &mut self, n: &mut Vec<CalcValueOrOperator, Global> )

source§

fn visit_mut_class_selector(&mut self, n: &mut ClassSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_cmyk_component(&mut self, n: &mut CmykComponent)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_color(&mut self, n: &mut Color)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_color_profile_name(&mut self, n: &mut ColorProfileName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_combinator(&mut self, n: &mut Combinator)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_combinator_value(&mut self, n: &mut CombinatorValue)

source§

fn visit_mut_complex_selector(&mut self, n: &mut ComplexSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_complex_selector_children( &mut self, n: &mut ComplexSelectorChildren )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_complex_selector_children_vec( &mut self, n: &mut Vec<ComplexSelectorChildren, Global> )

source§

fn visit_mut_complex_selectors(&mut self, n: &mut Vec<ComplexSelector, Global>)

source§

fn visit_mut_component_values(&mut self, n: &mut Vec<ComponentValue, Global>)

source§

fn visit_mut_compound_selector_list(&mut self, n: &mut CompoundSelectorList)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_compound_selectors( &mut self, n: &mut Vec<CompoundSelector, Global> )

source§

fn visit_mut_container_condition(&mut self, n: &mut ContainerCondition)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_container_name(&mut self, n: &mut ContainerName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_container_query(&mut self, n: &mut ContainerQuery)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_container_query_and(&mut self, n: &mut ContainerQueryAnd)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_container_query_not(&mut self, n: &mut ContainerQueryNot)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_container_query_or(&mut self, n: &mut ContainerQueryOr)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_container_query_type(&mut self, n: &mut ContainerQueryType)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_container_query_types( &mut self, n: &mut Vec<ContainerQueryType, Global> )

source§

fn visit_mut_custom_highlight_name(&mut self, n: &mut CustomHighlightName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_custom_ident(&mut self, n: &mut CustomIdent)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_custom_idents(&mut self, n: &mut Vec<CustomIdent, Global>)

source§

fn visit_mut_custom_media_query(&mut self, n: &mut CustomMediaQuery)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_custom_media_query_media_type( &mut self, n: &mut CustomMediaQueryMediaType )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_custom_property_name(&mut self, n: &mut CustomPropertyName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_dashed_ident(&mut self, n: &mut DashedIdent)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_declaration(&mut self, n: &mut Declaration)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_declaration_name(&mut self, n: &mut DeclarationName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_declaration_or_at_rule(&mut self, n: &mut DeclarationOrAtRule)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_delimiter(&mut self, n: &mut Delimiter)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_delimiter_value(&mut self, n: &mut DelimiterValue)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_dimension(&mut self, n: &mut Dimension)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_document_prelude(&mut self, n: &mut DocumentPrelude)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_document_prelude_matching_function( &mut self, n: &mut DocumentPreludeMatchingFunction )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_document_prelude_matching_functions( &mut self, n: &mut Vec<DocumentPreludeMatchingFunction, Global> )

source§

fn visit_mut_extension_name(&mut self, n: &mut ExtensionName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_family_name(&mut self, n: &mut FamilyName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_family_names(&mut self, n: &mut Vec<FamilyName, Global>)

source§

fn visit_mut_flex(&mut self, n: &mut Flex)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_font_feature_values_prelude( &mut self, n: &mut FontFeatureValuesPrelude )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_forgiving_complex_selector( &mut self, n: &mut ForgivingComplexSelector )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_forgiving_complex_selectors( &mut self, n: &mut Vec<ForgivingComplexSelector, Global> )

source§

fn visit_mut_forgiving_relative_selector( &mut self, n: &mut ForgivingRelativeSelector )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_forgiving_relative_selector_list( &mut self, n: &mut ForgivingRelativeSelectorList )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_forgiving_relative_selectors( &mut self, n: &mut Vec<ForgivingRelativeSelector, Global> )

source§

fn visit_mut_forgiving_selector_list(&mut self, n: &mut ForgivingSelectorList)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_frequency(&mut self, n: &mut Frequency)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_frequency_percentage(&mut self, n: &mut FrequencyPercentage)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_function(&mut self, n: &mut Function)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_function_name(&mut self, n: &mut FunctionName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_general_enclosed(&mut self, n: &mut GeneralEnclosed)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_hex_color(&mut self, n: &mut HexColor)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_hue(&mut self, n: &mut Hue)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_i_32(&mut self, n: &mut i32)

source§

fn visit_mut_id_selector(&mut self, n: &mut IdSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_ident(&mut self, n: &mut Ident)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_idents(&mut self, n: &mut Vec<Ident, Global>)

source§

fn visit_mut_import_conditions(&mut self, n: &mut ImportConditions)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_import_href(&mut self, n: &mut ImportHref)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_import_layer_name(&mut self, n: &mut ImportLayerName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_import_prelude(&mut self, n: &mut ImportPrelude)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_important_flag(&mut self, n: &mut ImportantFlag)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_integer(&mut self, n: &mut Integer)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_js_word(&mut self, n: &mut Atom<JsWordStaticSet>)

source§

fn visit_mut_keyframe_block(&mut self, n: &mut KeyframeBlock)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_keyframe_selector(&mut self, n: &mut KeyframeSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_keyframe_selectors( &mut self, n: &mut Vec<KeyframeSelector, Global> )

source§

fn visit_mut_keyframes_name(&mut self, n: &mut KeyframesName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_keyframes_pseudo_function( &mut self, n: &mut KeyframesPseudoFunction )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_keyframes_pseudo_prefix(&mut self, n: &mut KeyframesPseudoPrefix)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_layer_name(&mut self, n: &mut LayerName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_layer_name_list(&mut self, n: &mut LayerNameList)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_layer_names(&mut self, n: &mut Vec<LayerName, Global>)

source§

fn visit_mut_layer_prelude(&mut self, n: &mut LayerPrelude)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_length(&mut self, n: &mut Length)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_length_percentage(&mut self, n: &mut LengthPercentage)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_list_of_component_values(&mut self, n: &mut ListOfComponentValues)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_and(&mut self, n: &mut MediaAnd)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_condition_all_type(&mut self, n: &mut MediaConditionAllType)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_condition_all_types( &mut self, n: &mut Vec<MediaConditionAllType, Global> )

source§

fn visit_mut_media_condition_type(&mut self, n: &mut MediaConditionType)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_condition_without_or_type( &mut self, n: &mut MediaConditionWithoutOrType )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_condition_without_or_types( &mut self, n: &mut Vec<MediaConditionWithoutOrType, Global> )

source§

fn visit_mut_media_feature(&mut self, n: &mut MediaFeature)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_feature_boolean(&mut self, n: &mut MediaFeatureBoolean)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_feature_name(&mut self, n: &mut MediaFeatureName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_feature_plain(&mut self, n: &mut MediaFeaturePlain)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_feature_range(&mut self, n: &mut MediaFeatureRange)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_feature_range_comparison( &mut self, n: &mut MediaFeatureRangeComparison )

source§

fn visit_mut_media_feature_range_interval( &mut self, n: &mut MediaFeatureRangeInterval )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_feature_value(&mut self, n: &mut MediaFeatureValue)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_not(&mut self, n: &mut MediaNot)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_or(&mut self, n: &mut MediaOr)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_queries(&mut self, n: &mut Vec<MediaQuery, Global>)

source§

fn visit_mut_media_query_list(&mut self, n: &mut MediaQueryList)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_media_type(&mut self, n: &mut MediaType)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_named_namespace(&mut self, n: &mut NamedNamespace)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_namespace(&mut self, n: &mut Namespace)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_namespace_prefix(&mut self, n: &mut NamespacePrefix)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_namespace_prelude(&mut self, n: &mut NamespacePrelude)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_namespace_prelude_uri(&mut self, n: &mut NamespacePreludeUri)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_nesting_selector(&mut self, n: &mut NestingSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_number(&mut self, n: &mut Number)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_opt_at_rule_prelude( &mut self, n: &mut Option<Box<AtRulePrelude, Global>> )

source§

fn visit_mut_opt_atom(&mut self, n: &mut Option<Atom>)

source§

fn visit_mut_opt_attribute_selector_matcher( &mut self, n: &mut Option<AttributeSelectorMatcher> )

source§

fn visit_mut_opt_attribute_selector_modifier( &mut self, n: &mut Option<AttributeSelectorModifier> )

source§

fn visit_mut_opt_attribute_selector_value( &mut self, n: &mut Option<AttributeSelectorValue> )

source§

fn visit_mut_opt_combinator(&mut self, n: &mut Option<Combinator>)

source§

fn visit_mut_opt_container_name(&mut self, n: &mut Option<ContainerName>)

source§

fn visit_mut_opt_forgiving_selector_list( &mut self, n: &mut Option<ForgivingSelectorList> )

source§

fn visit_mut_opt_function(&mut self, n: &mut Option<Box<Function, Global>>)

source§

fn visit_mut_opt_i_32(&mut self, n: &mut Option<i32>)

source§

fn visit_mut_opt_ident(&mut self, n: &mut Option<Ident>)

source§

fn visit_mut_opt_import_conditions( &mut self, n: &mut Option<Box<ImportConditions, Global>> )

source§

fn visit_mut_opt_import_layer_name( &mut self, n: &mut Option<Box<ImportLayerName, Global>> )

source§

fn visit_mut_opt_important_flag(&mut self, n: &mut Option<ImportantFlag>)

source§

fn visit_mut_opt_js_word(&mut self, n: &mut Option<Atom<JsWordStaticSet>>)

source§

fn visit_mut_opt_media_condition_type( &mut self, n: &mut Option<Box<MediaConditionType, Global>> )

source§

fn visit_mut_opt_media_query_list( &mut self, n: &mut Option<Box<MediaQueryList, Global>> )

source§

fn visit_mut_opt_media_type(&mut self, n: &mut Option<MediaType>)

source§

fn visit_mut_opt_namespace(&mut self, n: &mut Option<Namespace>)

source§

fn visit_mut_opt_namespace_prefix(&mut self, n: &mut Option<NamespacePrefix>)

source§

fn visit_mut_opt_nesting_selector(&mut self, n: &mut Option<NestingSelector>)

source§

fn visit_mut_opt_number(&mut self, n: &mut Option<Number>)

source§

fn visit_mut_opt_page_selector_pseudos( &mut self, n: &mut Option<Vec<PageSelectorPseudo, Global>> )

source§

fn visit_mut_opt_page_selector_type(&mut self, n: &mut Option<PageSelectorType>)

source§

fn visit_mut_opt_pseudo_class_selector_children_vec( &mut self, n: &mut Option<Vec<PseudoClassSelectorChildren, Global>> )

source§

fn visit_mut_opt_pseudo_element_selector_children_vec( &mut self, n: &mut Option<Vec<PseudoElementSelectorChildren, Global>> )

source§

fn visit_mut_opt_simple_block(&mut self, n: &mut Option<SimpleBlock>)

source§

fn visit_mut_opt_type_selector( &mut self, n: &mut Option<Box<TypeSelector, Global>> )

source§

fn visit_mut_opt_url_modifiers( &mut self, n: &mut Option<Vec<UrlModifier, Global>> )

source§

fn visit_mut_opt_url_value(&mut self, n: &mut Option<Box<UrlValue, Global>>)

source§

fn visit_mut_page_selector(&mut self, n: &mut PageSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_page_selector_list(&mut self, n: &mut PageSelectorList)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_page_selector_pseudo(&mut self, n: &mut PageSelectorPseudo)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_page_selector_pseudos( &mut self, n: &mut Vec<PageSelectorPseudo, Global> )

source§

fn visit_mut_page_selector_type(&mut self, n: &mut PageSelectorType)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_page_selectors(&mut self, n: &mut Vec<PageSelector, Global>)

source§

fn visit_mut_percentage(&mut self, n: &mut Percentage)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_pseudo_class_selector(&mut self, n: &mut PseudoClassSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_pseudo_class_selector_children( &mut self, n: &mut PseudoClassSelectorChildren )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_pseudo_class_selector_children_vec( &mut self, n: &mut Vec<PseudoClassSelectorChildren, Global> )

source§

fn visit_mut_pseudo_element_selector(&mut self, n: &mut PseudoElementSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_pseudo_element_selector_children( &mut self, n: &mut PseudoElementSelectorChildren )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_pseudo_element_selector_children_vec( &mut self, n: &mut Vec<PseudoElementSelectorChildren, Global> )

source§

fn visit_mut_qualified_rule(&mut self, n: &mut QualifiedRule)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_qualified_rule_prelude(&mut self, n: &mut QualifiedRulePrelude)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_query_in_parens(&mut self, n: &mut QueryInParens)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_ratio(&mut self, n: &mut Ratio)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_relative_selector(&mut self, n: &mut RelativeSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_relative_selector_list(&mut self, n: &mut RelativeSelectorList)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_relative_selectors( &mut self, n: &mut Vec<RelativeSelector, Global> )

source§

fn visit_mut_resolution(&mut self, n: &mut Resolution)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_rule(&mut self, n: &mut Rule)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_scope_range(&mut self, n: &mut ScopeRange)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_selector_list(&mut self, n: &mut SelectorList)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_sequence_of_custom_idents( &mut self, n: &mut SequenceOfCustomIdents )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_simple_block(&mut self, n: &mut SimpleBlock)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_size_feature(&mut self, n: &mut SizeFeature)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_size_feature_boolean(&mut self, n: &mut SizeFeatureBoolean)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_size_feature_name(&mut self, n: &mut SizeFeatureName)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_size_feature_plain(&mut self, n: &mut SizeFeaturePlain)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_size_feature_range(&mut self, n: &mut SizeFeatureRange)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_size_feature_range_comparison( &mut self, n: &mut SizeFeatureRangeComparison )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_size_feature_range_interval( &mut self, n: &mut SizeFeatureRangeInterval )

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_size_feature_value(&mut self, n: &mut SizeFeatureValue)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_span(&mut self, n: &mut Span)

source§

fn visit_mut_str(&mut self, n: &mut Str)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_style_block(&mut self, n: &mut StyleBlock)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_stylesheet(&mut self, n: &mut Stylesheet)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_subclass_selector(&mut self, n: &mut SubclassSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_subclass_selectors( &mut self, n: &mut Vec<SubclassSelector, Global> )

source§

fn visit_mut_supports_and(&mut self, n: &mut SupportsAnd)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_supports_condition_type(&mut self, n: &mut SupportsConditionType)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_supports_condition_types( &mut self, n: &mut Vec<SupportsConditionType, Global> )

source§

fn visit_mut_supports_feature(&mut self, n: &mut SupportsFeature)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_supports_in_parens(&mut self, n: &mut SupportsInParens)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_supports_not(&mut self, n: &mut SupportsNot)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_supports_or(&mut self, n: &mut SupportsOr)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_tag_name_selector(&mut self, n: &mut TagNameSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_time(&mut self, n: &mut Time)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_time_percentage(&mut self, n: &mut TimePercentage)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_token(&mut self, n: &mut Token)

source§

fn visit_mut_token_and_span(&mut self, n: &mut TokenAndSpan)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_type_selector(&mut self, n: &mut TypeSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_unicode_range(&mut self, n: &mut UnicodeRange)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_universal_selector(&mut self, n: &mut UniversalSelector)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_unknown_dimension(&mut self, n: &mut UnknownDimension)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_url(&mut self, n: &mut Url)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_url_modifier(&mut self, n: &mut UrlModifier)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_url_modifiers(&mut self, n: &mut Vec<UrlModifier, Global>)

source§

fn visit_mut_url_value(&mut self, n: &mut UrlValue)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_url_value_raw(&mut self, n: &mut UrlValueRaw)

This method can be overridden to customize the visitor behavior. Read more
source§

fn visit_mut_wq_name(&mut self, n: &mut WqName)

This method can be overridden to customize the visitor behavior. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,

source§

fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> LayoutRaw for T

source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
source§

impl<T> Pointable for T

source§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> Node for Twhere T: ?Sized,