pub enum AstNodeRef<'ast> {
Show 179 variants AbsoluteColorBase(&'ast AbsoluteColorBase), AlphaValue(&'ast AlphaValue), AnPlusB(&'ast AnPlusB), AnPlusBNotation(&'ast AnPlusBNotation), Angle(&'ast Angle), AtRule(&'ast AtRule), AtRuleName(&'ast AtRuleName), AtRulePrelude(&'ast AtRulePrelude), AttributeSelector(&'ast AttributeSelector), AttributeSelectorMatcher(&'ast AttributeSelectorMatcher), AttributeSelectorMatcherValue(&'ast AttributeSelectorMatcherValue), AttributeSelectorModifier(&'ast AttributeSelectorModifier), AttributeSelectorValue(&'ast AttributeSelectorValue), CalcOperator(&'ast CalcOperator), CalcOperatorType(&'ast CalcOperatorType), CalcProduct(&'ast CalcProduct), CalcProductOrOperator(&'ast CalcProductOrOperator), CalcSum(&'ast CalcSum), CalcValue(&'ast CalcValue), CalcValueOrOperator(&'ast CalcValueOrOperator), ClassSelector(&'ast ClassSelector), CmykComponent(&'ast CmykComponent), Color(&'ast Color), ColorProfileName(&'ast ColorProfileName), Combinator(&'ast Combinator), CombinatorValue(&'ast CombinatorValue), ComplexSelector(&'ast ComplexSelector), ComplexSelectorChildren(&'ast ComplexSelectorChildren), ComponentValue(&'ast ComponentValue), CompoundSelector(&'ast CompoundSelector), CompoundSelectorList(&'ast CompoundSelectorList), CustomIdent(&'ast CustomIdent), CustomPropertyName(&'ast CustomPropertyName), DashedIdent(&'ast DashedIdent), Declaration(&'ast Declaration), DeclarationName(&'ast DeclarationName), DeclarationOrAtRule(&'ast DeclarationOrAtRule), Delimiter(&'ast Delimiter), DelimiterValue(&'ast DelimiterValue), Dimension(&'ast Dimension), DocumentPrelude(&'ast DocumentPrelude), DocumentPreludeMatchingFunction(&'ast DocumentPreludeMatchingFunction), Flex(&'ast Flex), Frequency(&'ast Frequency), Function(&'ast Function), GeneralEnclosed(&'ast GeneralEnclosed), HexColor(&'ast HexColor), Hue(&'ast Hue), IdSelector(&'ast IdSelector), Ident(&'ast Ident), ImportPrelude(&'ast ImportPrelude), ImportPreludeHref(&'ast ImportPreludeHref), ImportPreludeLayerName(&'ast ImportPreludeLayerName), ImportPreludeSupportsType(&'ast ImportPreludeSupportsType), ImportantFlag(&'ast ImportantFlag), Integer(&'ast Integer), JsWord(&'ast JsWord), KeyframeBlock(&'ast KeyframeBlock), KeyframeSelector(&'ast KeyframeSelector), KeyframesName(&'ast KeyframesName), LayerName(&'ast LayerName), LayerNameList(&'ast LayerNameList), LayerPrelude(&'ast LayerPrelude), Length(&'ast Length), ListOfComponentValues(&'ast ListOfComponentValues), MediaAnd(&'ast MediaAnd), MediaCondition(&'ast MediaCondition), MediaConditionAllType(&'ast MediaConditionAllType), MediaConditionType(&'ast MediaConditionType), MediaConditionWithoutOr(&'ast MediaConditionWithoutOr), MediaConditionWithoutOrType(&'ast MediaConditionWithoutOrType), MediaFeature(&'ast MediaFeature), MediaFeatureBoolean(&'ast MediaFeatureBoolean), MediaFeatureName(&'ast MediaFeatureName), MediaFeaturePlain(&'ast MediaFeaturePlain), MediaFeatureRange(&'ast MediaFeatureRange), MediaFeatureRangeComparison(&'ast MediaFeatureRangeComparison), MediaFeatureRangeInterval(&'ast MediaFeatureRangeInterval), MediaFeatureValue(&'ast MediaFeatureValue), MediaInParens(&'ast MediaInParens), MediaNot(&'ast MediaNot), MediaOr(&'ast MediaOr), MediaQuery(&'ast MediaQuery), MediaQueryList(&'ast MediaQueryList), NamespacePrelude(&'ast NamespacePrelude), NamespacePreludeUri(&'ast NamespacePreludeUri), NestingSelector(&'ast NestingSelector), NsPrefix(&'ast NsPrefix), Number(&'ast Number), OptAtRulePrelude(Option<&'ast AtRulePrelude>), OptAttributeSelectorMatcher(Option<&'ast AttributeSelectorMatcher>), OptAttributeSelectorModifier(Option<&'ast AttributeSelectorModifier>), OptAttributeSelectorValue(Option<&'ast AttributeSelectorValue>), OptCombinator(Option<&'ast Combinator>), OptIdent(Option<&'ast Ident>), OptImportPreludeLayerName(Option<&'ast ImportPreludeLayerName>), OptImportPreludeSupportsType(Option<&'ast ImportPreludeSupportsType>), OptImportantFlag(Option<&'ast ImportantFlag>), OptJsWord(Option<&'ast JsWord>), OptMediaConditionType(Option<&'ast MediaConditionType>), OptMediaQueryList(Option<&'ast MediaQueryList>), OptNestingSelector(Option<&'ast NestingSelector>), OptNsPrefix(Option<&'ast NsPrefix>), OptNumber(Option<&'ast Number>), OptPageSelectorType(Option<&'ast PageSelectorType>), OptSimpleBlock(Option<&'ast SimpleBlock>), OptTypeSelector(Option<&'ast TypeSelector>), OptUrlValue(Option<&'ast UrlValue>), OptVecPageSelectorPseudo(Option<&'ast [PageSelectorPseudo]>), OptVecPseudoClassSelectorChildren(Option<&'ast [PseudoClassSelectorChildren]>), OptVecPseudoElementSelectorChildren(Option<&'ast [PseudoElementSelectorChildren]>), OptVecUrlModifier(Option<&'ast [UrlModifier]>), PageSelector(&'ast PageSelector), PageSelectorList(&'ast PageSelectorList), PageSelectorPseudo(&'ast PageSelectorPseudo), PageSelectorType(&'ast PageSelectorType), Percentage(&'ast Percentage), PseudoClassSelector(&'ast PseudoClassSelector), PseudoClassSelectorChildren(&'ast PseudoClassSelectorChildren), PseudoElementSelector(&'ast PseudoElementSelector), PseudoElementSelectorChildren(&'ast PseudoElementSelectorChildren), QualifiedRule(&'ast QualifiedRule), QualifiedRulePrelude(&'ast QualifiedRulePrelude), Ratio(&'ast Ratio), RelativeSelector(&'ast RelativeSelector), RelativeSelectorList(&'ast RelativeSelectorList), Resolution(&'ast Resolution), Rule(&'ast Rule), SelectorList(&'ast SelectorList), SimpleBlock(&'ast SimpleBlock), Span(&'ast Span), Str(&'ast Str), StyleBlock(&'ast StyleBlock), Stylesheet(&'ast Stylesheet), SubclassSelector(&'ast SubclassSelector), SupportsAnd(&'ast SupportsAnd), SupportsCondition(&'ast SupportsCondition), SupportsConditionType(&'ast SupportsConditionType), SupportsFeature(&'ast SupportsFeature), SupportsInParens(&'ast SupportsInParens), SupportsNot(&'ast SupportsNot), SupportsOr(&'ast SupportsOr), TagNameSelector(&'ast TagNameSelector), Time(&'ast Time), Token(&'ast Token), TokenAndSpan(&'ast TokenAndSpan), Tokens(&'ast Tokens), TypeSelector(&'ast TypeSelector), UnicodeRange(&'ast UnicodeRange), UniversalSelector(&'ast UniversalSelector), UnknownDimension(&'ast UnknownDimension), Url(&'ast Url), UrlModifier(&'ast UrlModifier), UrlValue(&'ast UrlValue), UrlValueRaw(&'ast UrlValueRaw), VecCalcProductOrOperator(&'ast [CalcProductOrOperator], usize), VecCalcValueOrOperator(&'ast [CalcValueOrOperator], usize), VecComplexSelector(&'ast [ComplexSelector], usize), VecComplexSelectorChildren(&'ast [ComplexSelectorChildren], usize), VecComponentValue(&'ast [ComponentValue], usize), VecCompoundSelector(&'ast [CompoundSelector], usize), VecDocumentPreludeMatchingFunction(&'ast [DocumentPreludeMatchingFunction], usize), VecIdent(&'ast [Ident], usize), VecKeyframeSelector(&'ast [KeyframeSelector], usize), VecLayerName(&'ast [LayerName], usize), VecMediaConditionAllType(&'ast [MediaConditionAllType], usize), VecMediaConditionWithoutOrType(&'ast [MediaConditionWithoutOrType], usize), VecMediaQuery(&'ast [MediaQuery], usize), VecPageSelector(&'ast [PageSelector], usize), VecPageSelectorPseudo(&'ast [PageSelectorPseudo], usize), VecPseudoClassSelectorChildren(&'ast [PseudoClassSelectorChildren], usize), VecPseudoElementSelectorChildren(&'ast [PseudoElementSelectorChildren], usize), VecRelativeSelector(&'ast [RelativeSelector], usize), VecRule(&'ast [Rule], usize), VecSubclassSelector(&'ast [SubclassSelector], usize), VecSupportsConditionType(&'ast [SupportsConditionType], usize), VecTokenAndSpan(&'ast [TokenAndSpan], usize), VecUrlModifier(&'ast [UrlModifier], usize), WqName(&'ast WqName),
}

Variants

AbsoluteColorBase(&'ast AbsoluteColorBase)

AlphaValue(&'ast AlphaValue)

AnPlusB(&'ast AnPlusB)

AnPlusBNotation(&'ast AnPlusBNotation)

Angle(&'ast Angle)

AtRule(&'ast AtRule)

AtRuleName(&'ast AtRuleName)

AtRulePrelude(&'ast AtRulePrelude)

AttributeSelector(&'ast AttributeSelector)

AttributeSelectorMatcher(&'ast AttributeSelectorMatcher)

AttributeSelectorMatcherValue(&'ast AttributeSelectorMatcherValue)

AttributeSelectorModifier(&'ast AttributeSelectorModifier)

AttributeSelectorValue(&'ast AttributeSelectorValue)

CalcOperator(&'ast CalcOperator)

CalcOperatorType(&'ast CalcOperatorType)

CalcProduct(&'ast CalcProduct)

CalcProductOrOperator(&'ast CalcProductOrOperator)

CalcSum(&'ast CalcSum)

CalcValue(&'ast CalcValue)

CalcValueOrOperator(&'ast CalcValueOrOperator)

ClassSelector(&'ast ClassSelector)

CmykComponent(&'ast CmykComponent)

Color(&'ast Color)

ColorProfileName(&'ast ColorProfileName)

Combinator(&'ast Combinator)

CombinatorValue(&'ast CombinatorValue)

ComplexSelector(&'ast ComplexSelector)

ComplexSelectorChildren(&'ast ComplexSelectorChildren)

ComponentValue(&'ast ComponentValue)

CompoundSelector(&'ast CompoundSelector)

CompoundSelectorList(&'ast CompoundSelectorList)

CustomIdent(&'ast CustomIdent)

CustomPropertyName(&'ast CustomPropertyName)

DashedIdent(&'ast DashedIdent)

Declaration(&'ast Declaration)

DeclarationName(&'ast DeclarationName)

DeclarationOrAtRule(&'ast DeclarationOrAtRule)

Delimiter(&'ast Delimiter)

DelimiterValue(&'ast DelimiterValue)

Dimension(&'ast Dimension)

DocumentPrelude(&'ast DocumentPrelude)

DocumentPreludeMatchingFunction(&'ast DocumentPreludeMatchingFunction)

Flex(&'ast Flex)

Frequency(&'ast Frequency)

Function(&'ast Function)

GeneralEnclosed(&'ast GeneralEnclosed)

HexColor(&'ast HexColor)

Hue(&'ast Hue)

IdSelector(&'ast IdSelector)

Ident(&'ast Ident)

ImportPrelude(&'ast ImportPrelude)

ImportPreludeHref(&'ast ImportPreludeHref)

ImportPreludeLayerName(&'ast ImportPreludeLayerName)

ImportPreludeSupportsType(&'ast ImportPreludeSupportsType)

ImportantFlag(&'ast ImportantFlag)

Integer(&'ast Integer)

JsWord(&'ast JsWord)

KeyframeBlock(&'ast KeyframeBlock)

KeyframeSelector(&'ast KeyframeSelector)

KeyframesName(&'ast KeyframesName)

LayerName(&'ast LayerName)

LayerNameList(&'ast LayerNameList)

LayerPrelude(&'ast LayerPrelude)

Length(&'ast Length)

ListOfComponentValues(&'ast ListOfComponentValues)

MediaAnd(&'ast MediaAnd)

MediaCondition(&'ast MediaCondition)

MediaConditionAllType(&'ast MediaConditionAllType)

MediaConditionType(&'ast MediaConditionType)

MediaConditionWithoutOr(&'ast MediaConditionWithoutOr)

MediaConditionWithoutOrType(&'ast MediaConditionWithoutOrType)

MediaFeature(&'ast MediaFeature)

MediaFeatureBoolean(&'ast MediaFeatureBoolean)

MediaFeatureName(&'ast MediaFeatureName)

MediaFeaturePlain(&'ast MediaFeaturePlain)

MediaFeatureRange(&'ast MediaFeatureRange)

MediaFeatureRangeComparison(&'ast MediaFeatureRangeComparison)

MediaFeatureRangeInterval(&'ast MediaFeatureRangeInterval)

MediaFeatureValue(&'ast MediaFeatureValue)

MediaInParens(&'ast MediaInParens)

MediaNot(&'ast MediaNot)

MediaOr(&'ast MediaOr)

MediaQuery(&'ast MediaQuery)

MediaQueryList(&'ast MediaQueryList)

NamespacePrelude(&'ast NamespacePrelude)

NamespacePreludeUri(&'ast NamespacePreludeUri)

NestingSelector(&'ast NestingSelector)

NsPrefix(&'ast NsPrefix)

Number(&'ast Number)

OptAtRulePrelude(Option<&'ast AtRulePrelude>)

OptAttributeSelectorMatcher(Option<&'ast AttributeSelectorMatcher>)

OptAttributeSelectorModifier(Option<&'ast AttributeSelectorModifier>)

OptAttributeSelectorValue(Option<&'ast AttributeSelectorValue>)

OptCombinator(Option<&'ast Combinator>)

OptIdent(Option<&'ast Ident>)

OptImportPreludeLayerName(Option<&'ast ImportPreludeLayerName>)

OptImportPreludeSupportsType(Option<&'ast ImportPreludeSupportsType>)

OptImportantFlag(Option<&'ast ImportantFlag>)

OptJsWord(Option<&'ast JsWord>)

OptMediaConditionType(Option<&'ast MediaConditionType>)

OptMediaQueryList(Option<&'ast MediaQueryList>)

OptNestingSelector(Option<&'ast NestingSelector>)

OptNsPrefix(Option<&'ast NsPrefix>)

OptNumber(Option<&'ast Number>)

OptPageSelectorType(Option<&'ast PageSelectorType>)

OptSimpleBlock(Option<&'ast SimpleBlock>)

OptTypeSelector(Option<&'ast TypeSelector>)

OptUrlValue(Option<&'ast UrlValue>)

OptVecPageSelectorPseudo(Option<&'ast [PageSelectorPseudo]>)

OptVecPseudoClassSelectorChildren(Option<&'ast [PseudoClassSelectorChildren]>)

OptVecPseudoElementSelectorChildren(Option<&'ast [PseudoElementSelectorChildren]>)

OptVecUrlModifier(Option<&'ast [UrlModifier]>)

PageSelector(&'ast PageSelector)

PageSelectorList(&'ast PageSelectorList)

PageSelectorPseudo(&'ast PageSelectorPseudo)

PageSelectorType(&'ast PageSelectorType)

Percentage(&'ast Percentage)

PseudoClassSelector(&'ast PseudoClassSelector)

PseudoClassSelectorChildren(&'ast PseudoClassSelectorChildren)

PseudoElementSelector(&'ast PseudoElementSelector)

PseudoElementSelectorChildren(&'ast PseudoElementSelectorChildren)

QualifiedRule(&'ast QualifiedRule)

QualifiedRulePrelude(&'ast QualifiedRulePrelude)

Ratio(&'ast Ratio)

RelativeSelector(&'ast RelativeSelector)

RelativeSelectorList(&'ast RelativeSelectorList)

Resolution(&'ast Resolution)

Rule(&'ast Rule)

SelectorList(&'ast SelectorList)

SimpleBlock(&'ast SimpleBlock)

Span(&'ast Span)

Str(&'ast Str)

StyleBlock(&'ast StyleBlock)

Stylesheet(&'ast Stylesheet)

SubclassSelector(&'ast SubclassSelector)

SupportsAnd(&'ast SupportsAnd)

SupportsCondition(&'ast SupportsCondition)

SupportsConditionType(&'ast SupportsConditionType)

SupportsFeature(&'ast SupportsFeature)

SupportsInParens(&'ast SupportsInParens)

SupportsNot(&'ast SupportsNot)

SupportsOr(&'ast SupportsOr)

TagNameSelector(&'ast TagNameSelector)

Time(&'ast Time)

Token(&'ast Token)

TokenAndSpan(&'ast TokenAndSpan)

Tokens(&'ast Tokens)

TypeSelector(&'ast TypeSelector)

UnicodeRange(&'ast UnicodeRange)

UniversalSelector(&'ast UniversalSelector)

UnknownDimension(&'ast UnknownDimension)

Url(&'ast Url)

UrlModifier(&'ast UrlModifier)

UrlValue(&'ast UrlValue)

UrlValueRaw(&'ast UrlValueRaw)

VecCalcProductOrOperator(&'ast [CalcProductOrOperator], usize)

VecCalcValueOrOperator(&'ast [CalcValueOrOperator], usize)

VecComplexSelector(&'ast [ComplexSelector], usize)

VecComplexSelectorChildren(&'ast [ComplexSelectorChildren], usize)

VecComponentValue(&'ast [ComponentValue], usize)

VecCompoundSelector(&'ast [CompoundSelector], usize)

VecDocumentPreludeMatchingFunction(&'ast [DocumentPreludeMatchingFunction], usize)

VecIdent(&'ast [Ident], usize)

VecKeyframeSelector(&'ast [KeyframeSelector], usize)

VecLayerName(&'ast [LayerName], usize)

VecMediaConditionAllType(&'ast [MediaConditionAllType], usize)

VecMediaConditionWithoutOrType(&'ast [MediaConditionWithoutOrType], usize)

VecMediaQuery(&'ast [MediaQuery], usize)

VecPageSelector(&'ast [PageSelector], usize)

VecPageSelectorPseudo(&'ast [PageSelectorPseudo], usize)

VecPseudoClassSelectorChildren(&'ast [PseudoClassSelectorChildren], usize)

VecPseudoElementSelectorChildren(&'ast [PseudoElementSelectorChildren], usize)

VecRelativeSelector(&'ast [RelativeSelector], usize)

VecRule(&'ast [Rule], usize)

VecSubclassSelector(&'ast [SubclassSelector], usize)

VecSupportsConditionType(&'ast [SupportsConditionType], usize)

VecTokenAndSpan(&'ast [TokenAndSpan], usize)

VecUrlModifier(&'ast [UrlModifier], usize)

WqName(&'ast WqName)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

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

Calls U::from(self).

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

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

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