pub enum NodeRef<'ast> {
Show 173 variants
AbsoluteColorBase(&'ast AbsoluteColorBase),
AlphaValue(&'ast AlphaValue),
AnPlusB(&'ast AnPlusB),
AnPlusBNotation(&'ast AnPlusBNotation),
Angle(&'ast Angle),
AnglePercentage(&'ast AnglePercentage),
AnyNamespace(&'ast AnyNamespace),
AtRule(&'ast AtRule),
AtRuleName(&'ast AtRuleName),
AtRulePrelude(&'ast AtRulePrelude),
AttributeSelector(&'ast AttributeSelector),
AttributeSelectorMatcher(&'ast AttributeSelectorMatcher),
AttributeSelectorMatcherValue(&'ast AttributeSelectorMatcherValue),
AttributeSelectorModifier(&'ast AttributeSelectorModifier),
AttributeSelectorValue(&'ast AttributeSelectorValue),
BinOp(&'ast BinOp),
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),
ContainerCondition(&'ast ContainerCondition),
ContainerName(&'ast ContainerName),
ContainerQuery(&'ast ContainerQuery),
ContainerQueryAnd(&'ast ContainerQueryAnd),
ContainerQueryNot(&'ast ContainerQueryNot),
ContainerQueryOr(&'ast ContainerQueryOr),
ContainerQueryType(&'ast ContainerQueryType),
CustomHighlightName(&'ast CustomHighlightName),
CustomIdent(&'ast CustomIdent),
CustomMediaQuery(&'ast CustomMediaQuery),
CustomMediaQueryMediaType(&'ast CustomMediaQueryMediaType),
CustomPropertyName(&'ast CustomPropertyName),
DashedIdent(&'ast DashedIdent),
Declaration(&'ast Declaration),
DeclarationName(&'ast DeclarationName),
DeclarationOrAtRule(&'ast DeclarationOrAtRule),
Delimiter(&'ast Delimiter),
DelimiterValue(&'ast DelimiterValue),
Dimension(&'ast Dimension),
DimensionToken(&'ast DimensionToken),
DocumentPrelude(&'ast DocumentPrelude),
DocumentPreludeMatchingFunction(&'ast DocumentPreludeMatchingFunction),
ExtensionName(&'ast ExtensionName),
FamilyName(&'ast FamilyName),
Flex(&'ast Flex),
FontFeatureValuesPrelude(&'ast FontFeatureValuesPrelude),
ForgivingComplexSelector(&'ast ForgivingComplexSelector),
ForgivingRelativeSelector(&'ast ForgivingRelativeSelector),
ForgivingRelativeSelectorList(&'ast ForgivingRelativeSelectorList),
ForgivingSelectorList(&'ast ForgivingSelectorList),
Frequency(&'ast Frequency),
FrequencyPercentage(&'ast FrequencyPercentage),
Function(&'ast Function),
FunctionName(&'ast FunctionName),
GeneralEnclosed(&'ast GeneralEnclosed),
HexColor(&'ast HexColor),
Hue(&'ast Hue),
IdSelector(&'ast IdSelector),
Ident(&'ast Ident),
ImportConditions(&'ast ImportConditions),
ImportHref(&'ast ImportHref),
ImportLayerName(&'ast ImportLayerName),
ImportPrelude(&'ast ImportPrelude),
ImportantFlag(&'ast ImportantFlag),
Integer(&'ast Integer),
KeyframeBlock(&'ast KeyframeBlock),
KeyframeSelector(&'ast KeyframeSelector),
KeyframesName(&'ast KeyframesName),
KeyframesPseudoFunction(&'ast KeyframesPseudoFunction),
KeyframesPseudoPrefix(&'ast KeyframesPseudoPrefix),
LayerName(&'ast LayerName),
LayerNameList(&'ast LayerNameList),
LayerPrelude(&'ast LayerPrelude),
Length(&'ast Length),
LengthPercentage(&'ast LengthPercentage),
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),
MediaType(&'ast MediaType),
NamedNamespace(&'ast NamedNamespace),
Namespace(&'ast Namespace),
NamespacePrefix(&'ast NamespacePrefix),
NamespacePrelude(&'ast NamespacePrelude),
NamespacePreludeUri(&'ast NamespacePreludeUri),
NestingSelector(&'ast NestingSelector),
Number(&'ast Number),
NumberType(&'ast NumberType),
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),
QueryInParens(&'ast QueryInParens),
Ratio(&'ast Ratio),
RelativeSelector(&'ast RelativeSelector),
RelativeSelectorList(&'ast RelativeSelectorList),
Resolution(&'ast Resolution),
Rule(&'ast Rule),
ScopeRange(&'ast ScopeRange),
SelectorList(&'ast SelectorList),
SequenceOfCustomIdents(&'ast SequenceOfCustomIdents),
SimpleBlock(&'ast SimpleBlock),
SizeFeature(&'ast SizeFeature),
SizeFeatureBoolean(&'ast SizeFeatureBoolean),
SizeFeatureName(&'ast SizeFeatureName),
SizeFeaturePlain(&'ast SizeFeaturePlain),
SizeFeatureRange(&'ast SizeFeatureRange),
SizeFeatureRangeComparison(&'ast SizeFeatureRangeComparison),
SizeFeatureRangeInterval(&'ast SizeFeatureRangeInterval),
SizeFeatureValue(&'ast SizeFeatureValue),
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),
TimePercentage(&'ast TimePercentage),
Token(&'ast Token),
TokenAndSpan(&'ast TokenAndSpan),
TypeSelector(&'ast TypeSelector),
UnicodeRange(&'ast UnicodeRange),
UniversalSelector(&'ast UniversalSelector),
UnknownDimension(&'ast UnknownDimension),
Url(&'ast Url),
UrlKeyValue(&'ast UrlKeyValue),
UrlModifier(&'ast UrlModifier),
UrlValue(&'ast UrlValue),
UrlValueRaw(&'ast UrlValueRaw),
WqName(&'ast WqName),
}Variants§
AbsoluteColorBase(&'ast AbsoluteColorBase)
AlphaValue(&'ast AlphaValue)
AnPlusB(&'ast AnPlusB)
AnPlusBNotation(&'ast AnPlusBNotation)
Angle(&'ast Angle)
AnglePercentage(&'ast AnglePercentage)
AnyNamespace(&'ast AnyNamespace)
AtRule(&'ast AtRule)
AtRuleName(&'ast AtRuleName)
AtRulePrelude(&'ast AtRulePrelude)
AttributeSelector(&'ast AttributeSelector)
AttributeSelectorMatcher(&'ast AttributeSelectorMatcher)
AttributeSelectorMatcherValue(&'ast AttributeSelectorMatcherValue)
AttributeSelectorModifier(&'ast AttributeSelectorModifier)
AttributeSelectorValue(&'ast AttributeSelectorValue)
BinOp(&'ast BinOp)
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)
ContainerCondition(&'ast ContainerCondition)
ContainerName(&'ast ContainerName)
ContainerQuery(&'ast ContainerQuery)
ContainerQueryAnd(&'ast ContainerQueryAnd)
ContainerQueryNot(&'ast ContainerQueryNot)
ContainerQueryOr(&'ast ContainerQueryOr)
ContainerQueryType(&'ast ContainerQueryType)
CustomHighlightName(&'ast CustomHighlightName)
CustomIdent(&'ast CustomIdent)
CustomMediaQuery(&'ast CustomMediaQuery)
CustomMediaQueryMediaType(&'ast CustomMediaQueryMediaType)
CustomPropertyName(&'ast CustomPropertyName)
DashedIdent(&'ast DashedIdent)
Declaration(&'ast Declaration)
DeclarationName(&'ast DeclarationName)
DeclarationOrAtRule(&'ast DeclarationOrAtRule)
Delimiter(&'ast Delimiter)
DelimiterValue(&'ast DelimiterValue)
Dimension(&'ast Dimension)
DimensionToken(&'ast DimensionToken)
DocumentPrelude(&'ast DocumentPrelude)
DocumentPreludeMatchingFunction(&'ast DocumentPreludeMatchingFunction)
ExtensionName(&'ast ExtensionName)
FamilyName(&'ast FamilyName)
Flex(&'ast Flex)
FontFeatureValuesPrelude(&'ast FontFeatureValuesPrelude)
ForgivingComplexSelector(&'ast ForgivingComplexSelector)
ForgivingRelativeSelector(&'ast ForgivingRelativeSelector)
ForgivingRelativeSelectorList(&'ast ForgivingRelativeSelectorList)
ForgivingSelectorList(&'ast ForgivingSelectorList)
Frequency(&'ast Frequency)
FrequencyPercentage(&'ast FrequencyPercentage)
Function(&'ast Function)
FunctionName(&'ast FunctionName)
GeneralEnclosed(&'ast GeneralEnclosed)
HexColor(&'ast HexColor)
Hue(&'ast Hue)
IdSelector(&'ast IdSelector)
Ident(&'ast Ident)
ImportConditions(&'ast ImportConditions)
ImportHref(&'ast ImportHref)
ImportLayerName(&'ast ImportLayerName)
ImportPrelude(&'ast ImportPrelude)
ImportantFlag(&'ast ImportantFlag)
Integer(&'ast Integer)
KeyframeBlock(&'ast KeyframeBlock)
KeyframeSelector(&'ast KeyframeSelector)
KeyframesName(&'ast KeyframesName)
KeyframesPseudoFunction(&'ast KeyframesPseudoFunction)
KeyframesPseudoPrefix(&'ast KeyframesPseudoPrefix)
LayerName(&'ast LayerName)
LayerNameList(&'ast LayerNameList)
LayerPrelude(&'ast LayerPrelude)
Length(&'ast Length)
LengthPercentage(&'ast LengthPercentage)
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)
MediaType(&'ast MediaType)
NamedNamespace(&'ast NamedNamespace)
Namespace(&'ast Namespace)
NamespacePrefix(&'ast NamespacePrefix)
NamespacePrelude(&'ast NamespacePrelude)
NamespacePreludeUri(&'ast NamespacePreludeUri)
NestingSelector(&'ast NestingSelector)
Number(&'ast Number)
NumberType(&'ast NumberType)
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)
QueryInParens(&'ast QueryInParens)
Ratio(&'ast Ratio)
RelativeSelector(&'ast RelativeSelector)
RelativeSelectorList(&'ast RelativeSelectorList)
Resolution(&'ast Resolution)
Rule(&'ast Rule)
ScopeRange(&'ast ScopeRange)
SelectorList(&'ast SelectorList)
SequenceOfCustomIdents(&'ast SequenceOfCustomIdents)
SimpleBlock(&'ast SimpleBlock)
SizeFeature(&'ast SizeFeature)
SizeFeatureBoolean(&'ast SizeFeatureBoolean)
SizeFeatureName(&'ast SizeFeatureName)
SizeFeaturePlain(&'ast SizeFeaturePlain)
SizeFeatureRange(&'ast SizeFeatureRange)
SizeFeatureRangeComparison(&'ast SizeFeatureRangeComparison)
SizeFeatureRangeInterval(&'ast SizeFeatureRangeInterval)
SizeFeatureValue(&'ast SizeFeatureValue)
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)
TimePercentage(&'ast TimePercentage)
Token(&'ast Token)
TokenAndSpan(&'ast TokenAndSpan)
TypeSelector(&'ast TypeSelector)
UnicodeRange(&'ast UnicodeRange)
UniversalSelector(&'ast UniversalSelector)
UnknownDimension(&'ast UnknownDimension)
Url(&'ast Url)
UrlKeyValue(&'ast UrlKeyValue)
UrlModifier(&'ast UrlModifier)
UrlValue(&'ast UrlValue)
UrlValueRaw(&'ast UrlValueRaw)
WqName(&'ast WqName)
Implementations§
Trait Implementations§
Source§impl<'ast> From<&'ast AbsoluteColorBase> for NodeRef<'ast>
impl<'ast> From<&'ast AbsoluteColorBase> for NodeRef<'ast>
Source§fn from(node: &'ast AbsoluteColorBase) -> Self
fn from(node: &'ast AbsoluteColorBase) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AlphaValue> for NodeRef<'ast>
impl<'ast> From<&'ast AlphaValue> for NodeRef<'ast>
Source§fn from(node: &'ast AlphaValue) -> Self
fn from(node: &'ast AlphaValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AnPlusBNotation> for NodeRef<'ast>
impl<'ast> From<&'ast AnPlusBNotation> for NodeRef<'ast>
Source§fn from(node: &'ast AnPlusBNotation) -> Self
fn from(node: &'ast AnPlusBNotation) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AnglePercentage> for NodeRef<'ast>
impl<'ast> From<&'ast AnglePercentage> for NodeRef<'ast>
Source§fn from(node: &'ast AnglePercentage) -> Self
fn from(node: &'ast AnglePercentage) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AnyNamespace> for NodeRef<'ast>
impl<'ast> From<&'ast AnyNamespace> for NodeRef<'ast>
Source§fn from(node: &'ast AnyNamespace) -> Self
fn from(node: &'ast AnyNamespace) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AtRuleName> for NodeRef<'ast>
impl<'ast> From<&'ast AtRuleName> for NodeRef<'ast>
Source§fn from(node: &'ast AtRuleName) -> Self
fn from(node: &'ast AtRuleName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AtRulePrelude> for NodeRef<'ast>
impl<'ast> From<&'ast AtRulePrelude> for NodeRef<'ast>
Source§fn from(node: &'ast AtRulePrelude) -> Self
fn from(node: &'ast AtRulePrelude) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AttributeSelector> for NodeRef<'ast>
impl<'ast> From<&'ast AttributeSelector> for NodeRef<'ast>
Source§fn from(node: &'ast AttributeSelector) -> Self
fn from(node: &'ast AttributeSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AttributeSelectorMatcher> for NodeRef<'ast>
impl<'ast> From<&'ast AttributeSelectorMatcher> for NodeRef<'ast>
Source§fn from(node: &'ast AttributeSelectorMatcher) -> Self
fn from(node: &'ast AttributeSelectorMatcher) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AttributeSelectorMatcherValue> for NodeRef<'ast>
impl<'ast> From<&'ast AttributeSelectorMatcherValue> for NodeRef<'ast>
Source§fn from(node: &'ast AttributeSelectorMatcherValue) -> Self
fn from(node: &'ast AttributeSelectorMatcherValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AttributeSelectorModifier> for NodeRef<'ast>
impl<'ast> From<&'ast AttributeSelectorModifier> for NodeRef<'ast>
Source§fn from(node: &'ast AttributeSelectorModifier) -> Self
fn from(node: &'ast AttributeSelectorModifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AttributeSelectorValue> for NodeRef<'ast>
impl<'ast> From<&'ast AttributeSelectorValue> for NodeRef<'ast>
Source§fn from(node: &'ast AttributeSelectorValue) -> Self
fn from(node: &'ast AttributeSelectorValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CalcOperator> for NodeRef<'ast>
impl<'ast> From<&'ast CalcOperator> for NodeRef<'ast>
Source§fn from(node: &'ast CalcOperator) -> Self
fn from(node: &'ast CalcOperator) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CalcOperatorType> for NodeRef<'ast>
impl<'ast> From<&'ast CalcOperatorType> for NodeRef<'ast>
Source§fn from(node: &'ast CalcOperatorType) -> Self
fn from(node: &'ast CalcOperatorType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CalcProduct> for NodeRef<'ast>
impl<'ast> From<&'ast CalcProduct> for NodeRef<'ast>
Source§fn from(node: &'ast CalcProduct) -> Self
fn from(node: &'ast CalcProduct) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CalcProductOrOperator> for NodeRef<'ast>
impl<'ast> From<&'ast CalcProductOrOperator> for NodeRef<'ast>
Source§fn from(node: &'ast CalcProductOrOperator) -> Self
fn from(node: &'ast CalcProductOrOperator) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CalcValueOrOperator> for NodeRef<'ast>
impl<'ast> From<&'ast CalcValueOrOperator> for NodeRef<'ast>
Source§fn from(node: &'ast CalcValueOrOperator) -> Self
fn from(node: &'ast CalcValueOrOperator) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ClassSelector> for NodeRef<'ast>
impl<'ast> From<&'ast ClassSelector> for NodeRef<'ast>
Source§fn from(node: &'ast ClassSelector) -> Self
fn from(node: &'ast ClassSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CmykComponent> for NodeRef<'ast>
impl<'ast> From<&'ast CmykComponent> for NodeRef<'ast>
Source§fn from(node: &'ast CmykComponent) -> Self
fn from(node: &'ast CmykComponent) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ColorProfileName> for NodeRef<'ast>
impl<'ast> From<&'ast ColorProfileName> for NodeRef<'ast>
Source§fn from(node: &'ast ColorProfileName) -> Self
fn from(node: &'ast ColorProfileName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast Combinator> for NodeRef<'ast>
impl<'ast> From<&'ast Combinator> for NodeRef<'ast>
Source§fn from(node: &'ast Combinator) -> Self
fn from(node: &'ast Combinator) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CombinatorValue> for NodeRef<'ast>
impl<'ast> From<&'ast CombinatorValue> for NodeRef<'ast>
Source§fn from(node: &'ast CombinatorValue) -> Self
fn from(node: &'ast CombinatorValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ComplexSelector> for NodeRef<'ast>
impl<'ast> From<&'ast ComplexSelector> for NodeRef<'ast>
Source§fn from(node: &'ast ComplexSelector) -> Self
fn from(node: &'ast ComplexSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ComplexSelectorChildren> for NodeRef<'ast>
impl<'ast> From<&'ast ComplexSelectorChildren> for NodeRef<'ast>
Source§fn from(node: &'ast ComplexSelectorChildren) -> Self
fn from(node: &'ast ComplexSelectorChildren) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ComponentValue> for NodeRef<'ast>
impl<'ast> From<&'ast ComponentValue> for NodeRef<'ast>
Source§fn from(node: &'ast ComponentValue) -> Self
fn from(node: &'ast ComponentValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CompoundSelector> for NodeRef<'ast>
impl<'ast> From<&'ast CompoundSelector> for NodeRef<'ast>
Source§fn from(node: &'ast CompoundSelector) -> Self
fn from(node: &'ast CompoundSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CompoundSelectorList> for NodeRef<'ast>
impl<'ast> From<&'ast CompoundSelectorList> for NodeRef<'ast>
Source§fn from(node: &'ast CompoundSelectorList) -> Self
fn from(node: &'ast CompoundSelectorList) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ContainerCondition> for NodeRef<'ast>
impl<'ast> From<&'ast ContainerCondition> for NodeRef<'ast>
Source§fn from(node: &'ast ContainerCondition) -> Self
fn from(node: &'ast ContainerCondition) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ContainerName> for NodeRef<'ast>
impl<'ast> From<&'ast ContainerName> for NodeRef<'ast>
Source§fn from(node: &'ast ContainerName) -> Self
fn from(node: &'ast ContainerName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ContainerQuery> for NodeRef<'ast>
impl<'ast> From<&'ast ContainerQuery> for NodeRef<'ast>
Source§fn from(node: &'ast ContainerQuery) -> Self
fn from(node: &'ast ContainerQuery) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ContainerQueryAnd> for NodeRef<'ast>
impl<'ast> From<&'ast ContainerQueryAnd> for NodeRef<'ast>
Source§fn from(node: &'ast ContainerQueryAnd) -> Self
fn from(node: &'ast ContainerQueryAnd) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ContainerQueryNot> for NodeRef<'ast>
impl<'ast> From<&'ast ContainerQueryNot> for NodeRef<'ast>
Source§fn from(node: &'ast ContainerQueryNot) -> Self
fn from(node: &'ast ContainerQueryNot) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ContainerQueryOr> for NodeRef<'ast>
impl<'ast> From<&'ast ContainerQueryOr> for NodeRef<'ast>
Source§fn from(node: &'ast ContainerQueryOr) -> Self
fn from(node: &'ast ContainerQueryOr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ContainerQueryType> for NodeRef<'ast>
impl<'ast> From<&'ast ContainerQueryType> for NodeRef<'ast>
Source§fn from(node: &'ast ContainerQueryType) -> Self
fn from(node: &'ast ContainerQueryType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CustomHighlightName> for NodeRef<'ast>
impl<'ast> From<&'ast CustomHighlightName> for NodeRef<'ast>
Source§fn from(node: &'ast CustomHighlightName) -> Self
fn from(node: &'ast CustomHighlightName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CustomIdent> for NodeRef<'ast>
impl<'ast> From<&'ast CustomIdent> for NodeRef<'ast>
Source§fn from(node: &'ast CustomIdent) -> Self
fn from(node: &'ast CustomIdent) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CustomMediaQuery> for NodeRef<'ast>
impl<'ast> From<&'ast CustomMediaQuery> for NodeRef<'ast>
Source§fn from(node: &'ast CustomMediaQuery) -> Self
fn from(node: &'ast CustomMediaQuery) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CustomMediaQueryMediaType> for NodeRef<'ast>
impl<'ast> From<&'ast CustomMediaQueryMediaType> for NodeRef<'ast>
Source§fn from(node: &'ast CustomMediaQueryMediaType) -> Self
fn from(node: &'ast CustomMediaQueryMediaType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CustomPropertyName> for NodeRef<'ast>
impl<'ast> From<&'ast CustomPropertyName> for NodeRef<'ast>
Source§fn from(node: &'ast CustomPropertyName) -> Self
fn from(node: &'ast CustomPropertyName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DashedIdent> for NodeRef<'ast>
impl<'ast> From<&'ast DashedIdent> for NodeRef<'ast>
Source§fn from(node: &'ast DashedIdent) -> Self
fn from(node: &'ast DashedIdent) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast Declaration> for NodeRef<'ast>
impl<'ast> From<&'ast Declaration> for NodeRef<'ast>
Source§fn from(node: &'ast Declaration) -> Self
fn from(node: &'ast Declaration) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DeclarationName> for NodeRef<'ast>
impl<'ast> From<&'ast DeclarationName> for NodeRef<'ast>
Source§fn from(node: &'ast DeclarationName) -> Self
fn from(node: &'ast DeclarationName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DeclarationOrAtRule> for NodeRef<'ast>
impl<'ast> From<&'ast DeclarationOrAtRule> for NodeRef<'ast>
Source§fn from(node: &'ast DeclarationOrAtRule) -> Self
fn from(node: &'ast DeclarationOrAtRule) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DelimiterValue> for NodeRef<'ast>
impl<'ast> From<&'ast DelimiterValue> for NodeRef<'ast>
Source§fn from(node: &'ast DelimiterValue) -> Self
fn from(node: &'ast DelimiterValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DimensionToken> for NodeRef<'ast>
impl<'ast> From<&'ast DimensionToken> for NodeRef<'ast>
Source§fn from(node: &'ast DimensionToken) -> Self
fn from(node: &'ast DimensionToken) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DocumentPrelude> for NodeRef<'ast>
impl<'ast> From<&'ast DocumentPrelude> for NodeRef<'ast>
Source§fn from(node: &'ast DocumentPrelude) -> Self
fn from(node: &'ast DocumentPrelude) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DocumentPreludeMatchingFunction> for NodeRef<'ast>
impl<'ast> From<&'ast DocumentPreludeMatchingFunction> for NodeRef<'ast>
Source§fn from(node: &'ast DocumentPreludeMatchingFunction) -> Self
fn from(node: &'ast DocumentPreludeMatchingFunction) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ExtensionName> for NodeRef<'ast>
impl<'ast> From<&'ast ExtensionName> for NodeRef<'ast>
Source§fn from(node: &'ast ExtensionName) -> Self
fn from(node: &'ast ExtensionName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast FamilyName> for NodeRef<'ast>
impl<'ast> From<&'ast FamilyName> for NodeRef<'ast>
Source§fn from(node: &'ast FamilyName) -> Self
fn from(node: &'ast FamilyName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast FontFeatureValuesPrelude> for NodeRef<'ast>
impl<'ast> From<&'ast FontFeatureValuesPrelude> for NodeRef<'ast>
Source§fn from(node: &'ast FontFeatureValuesPrelude) -> Self
fn from(node: &'ast FontFeatureValuesPrelude) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ForgivingComplexSelector> for NodeRef<'ast>
impl<'ast> From<&'ast ForgivingComplexSelector> for NodeRef<'ast>
Source§fn from(node: &'ast ForgivingComplexSelector) -> Self
fn from(node: &'ast ForgivingComplexSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ForgivingRelativeSelector> for NodeRef<'ast>
impl<'ast> From<&'ast ForgivingRelativeSelector> for NodeRef<'ast>
Source§fn from(node: &'ast ForgivingRelativeSelector) -> Self
fn from(node: &'ast ForgivingRelativeSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ForgivingRelativeSelectorList> for NodeRef<'ast>
impl<'ast> From<&'ast ForgivingRelativeSelectorList> for NodeRef<'ast>
Source§fn from(node: &'ast ForgivingRelativeSelectorList) -> Self
fn from(node: &'ast ForgivingRelativeSelectorList) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ForgivingSelectorList> for NodeRef<'ast>
impl<'ast> From<&'ast ForgivingSelectorList> for NodeRef<'ast>
Source§fn from(node: &'ast ForgivingSelectorList) -> Self
fn from(node: &'ast ForgivingSelectorList) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast FrequencyPercentage> for NodeRef<'ast>
impl<'ast> From<&'ast FrequencyPercentage> for NodeRef<'ast>
Source§fn from(node: &'ast FrequencyPercentage) -> Self
fn from(node: &'ast FrequencyPercentage) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast FunctionName> for NodeRef<'ast>
impl<'ast> From<&'ast FunctionName> for NodeRef<'ast>
Source§fn from(node: &'ast FunctionName) -> Self
fn from(node: &'ast FunctionName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast GeneralEnclosed> for NodeRef<'ast>
impl<'ast> From<&'ast GeneralEnclosed> for NodeRef<'ast>
Source§fn from(node: &'ast GeneralEnclosed) -> Self
fn from(node: &'ast GeneralEnclosed) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast IdSelector> for NodeRef<'ast>
impl<'ast> From<&'ast IdSelector> for NodeRef<'ast>
Source§fn from(node: &'ast IdSelector) -> Self
fn from(node: &'ast IdSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportConditions> for NodeRef<'ast>
impl<'ast> From<&'ast ImportConditions> for NodeRef<'ast>
Source§fn from(node: &'ast ImportConditions) -> Self
fn from(node: &'ast ImportConditions) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportHref> for NodeRef<'ast>
impl<'ast> From<&'ast ImportHref> for NodeRef<'ast>
Source§fn from(node: &'ast ImportHref) -> Self
fn from(node: &'ast ImportHref) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportLayerName> for NodeRef<'ast>
impl<'ast> From<&'ast ImportLayerName> for NodeRef<'ast>
Source§fn from(node: &'ast ImportLayerName) -> Self
fn from(node: &'ast ImportLayerName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportPrelude> for NodeRef<'ast>
impl<'ast> From<&'ast ImportPrelude> for NodeRef<'ast>
Source§fn from(node: &'ast ImportPrelude) -> Self
fn from(node: &'ast ImportPrelude) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportantFlag> for NodeRef<'ast>
impl<'ast> From<&'ast ImportantFlag> for NodeRef<'ast>
Source§fn from(node: &'ast ImportantFlag) -> Self
fn from(node: &'ast ImportantFlag) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast KeyframeBlock> for NodeRef<'ast>
impl<'ast> From<&'ast KeyframeBlock> for NodeRef<'ast>
Source§fn from(node: &'ast KeyframeBlock) -> Self
fn from(node: &'ast KeyframeBlock) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast KeyframeSelector> for NodeRef<'ast>
impl<'ast> From<&'ast KeyframeSelector> for NodeRef<'ast>
Source§fn from(node: &'ast KeyframeSelector) -> Self
fn from(node: &'ast KeyframeSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast KeyframesName> for NodeRef<'ast>
impl<'ast> From<&'ast KeyframesName> for NodeRef<'ast>
Source§fn from(node: &'ast KeyframesName) -> Self
fn from(node: &'ast KeyframesName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast KeyframesPseudoFunction> for NodeRef<'ast>
impl<'ast> From<&'ast KeyframesPseudoFunction> for NodeRef<'ast>
Source§fn from(node: &'ast KeyframesPseudoFunction) -> Self
fn from(node: &'ast KeyframesPseudoFunction) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast KeyframesPseudoPrefix> for NodeRef<'ast>
impl<'ast> From<&'ast KeyframesPseudoPrefix> for NodeRef<'ast>
Source§fn from(node: &'ast KeyframesPseudoPrefix) -> Self
fn from(node: &'ast KeyframesPseudoPrefix) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast LayerNameList> for NodeRef<'ast>
impl<'ast> From<&'ast LayerNameList> for NodeRef<'ast>
Source§fn from(node: &'ast LayerNameList) -> Self
fn from(node: &'ast LayerNameList) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast LayerPrelude> for NodeRef<'ast>
impl<'ast> From<&'ast LayerPrelude> for NodeRef<'ast>
Source§fn from(node: &'ast LayerPrelude) -> Self
fn from(node: &'ast LayerPrelude) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast LengthPercentage> for NodeRef<'ast>
impl<'ast> From<&'ast LengthPercentage> for NodeRef<'ast>
Source§fn from(node: &'ast LengthPercentage) -> Self
fn from(node: &'ast LengthPercentage) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ListOfComponentValues> for NodeRef<'ast>
impl<'ast> From<&'ast ListOfComponentValues> for NodeRef<'ast>
Source§fn from(node: &'ast ListOfComponentValues) -> Self
fn from(node: &'ast ListOfComponentValues) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaCondition> for NodeRef<'ast>
impl<'ast> From<&'ast MediaCondition> for NodeRef<'ast>
Source§fn from(node: &'ast MediaCondition) -> Self
fn from(node: &'ast MediaCondition) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaConditionAllType> for NodeRef<'ast>
impl<'ast> From<&'ast MediaConditionAllType> for NodeRef<'ast>
Source§fn from(node: &'ast MediaConditionAllType) -> Self
fn from(node: &'ast MediaConditionAllType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaConditionType> for NodeRef<'ast>
impl<'ast> From<&'ast MediaConditionType> for NodeRef<'ast>
Source§fn from(node: &'ast MediaConditionType) -> Self
fn from(node: &'ast MediaConditionType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaConditionWithoutOr> for NodeRef<'ast>
impl<'ast> From<&'ast MediaConditionWithoutOr> for NodeRef<'ast>
Source§fn from(node: &'ast MediaConditionWithoutOr) -> Self
fn from(node: &'ast MediaConditionWithoutOr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaConditionWithoutOrType> for NodeRef<'ast>
impl<'ast> From<&'ast MediaConditionWithoutOrType> for NodeRef<'ast>
Source§fn from(node: &'ast MediaConditionWithoutOrType) -> Self
fn from(node: &'ast MediaConditionWithoutOrType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaFeature> for NodeRef<'ast>
impl<'ast> From<&'ast MediaFeature> for NodeRef<'ast>
Source§fn from(node: &'ast MediaFeature) -> Self
fn from(node: &'ast MediaFeature) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaFeatureBoolean> for NodeRef<'ast>
impl<'ast> From<&'ast MediaFeatureBoolean> for NodeRef<'ast>
Source§fn from(node: &'ast MediaFeatureBoolean) -> Self
fn from(node: &'ast MediaFeatureBoolean) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaFeatureName> for NodeRef<'ast>
impl<'ast> From<&'ast MediaFeatureName> for NodeRef<'ast>
Source§fn from(node: &'ast MediaFeatureName) -> Self
fn from(node: &'ast MediaFeatureName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaFeaturePlain> for NodeRef<'ast>
impl<'ast> From<&'ast MediaFeaturePlain> for NodeRef<'ast>
Source§fn from(node: &'ast MediaFeaturePlain) -> Self
fn from(node: &'ast MediaFeaturePlain) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaFeatureRange> for NodeRef<'ast>
impl<'ast> From<&'ast MediaFeatureRange> for NodeRef<'ast>
Source§fn from(node: &'ast MediaFeatureRange) -> Self
fn from(node: &'ast MediaFeatureRange) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaFeatureRangeComparison> for NodeRef<'ast>
impl<'ast> From<&'ast MediaFeatureRangeComparison> for NodeRef<'ast>
Source§fn from(node: &'ast MediaFeatureRangeComparison) -> Self
fn from(node: &'ast MediaFeatureRangeComparison) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaFeatureRangeInterval> for NodeRef<'ast>
impl<'ast> From<&'ast MediaFeatureRangeInterval> for NodeRef<'ast>
Source§fn from(node: &'ast MediaFeatureRangeInterval) -> Self
fn from(node: &'ast MediaFeatureRangeInterval) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaFeatureValue> for NodeRef<'ast>
impl<'ast> From<&'ast MediaFeatureValue> for NodeRef<'ast>
Source§fn from(node: &'ast MediaFeatureValue) -> Self
fn from(node: &'ast MediaFeatureValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaInParens> for NodeRef<'ast>
impl<'ast> From<&'ast MediaInParens> for NodeRef<'ast>
Source§fn from(node: &'ast MediaInParens) -> Self
fn from(node: &'ast MediaInParens) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaQuery> for NodeRef<'ast>
impl<'ast> From<&'ast MediaQuery> for NodeRef<'ast>
Source§fn from(node: &'ast MediaQuery) -> Self
fn from(node: &'ast MediaQuery) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MediaQueryList> for NodeRef<'ast>
impl<'ast> From<&'ast MediaQueryList> for NodeRef<'ast>
Source§fn from(node: &'ast MediaQueryList) -> Self
fn from(node: &'ast MediaQueryList) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast NamedNamespace> for NodeRef<'ast>
impl<'ast> From<&'ast NamedNamespace> for NodeRef<'ast>
Source§fn from(node: &'ast NamedNamespace) -> Self
fn from(node: &'ast NamedNamespace) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast NamespacePrefix> for NodeRef<'ast>
impl<'ast> From<&'ast NamespacePrefix> for NodeRef<'ast>
Source§fn from(node: &'ast NamespacePrefix) -> Self
fn from(node: &'ast NamespacePrefix) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast NamespacePrelude> for NodeRef<'ast>
impl<'ast> From<&'ast NamespacePrelude> for NodeRef<'ast>
Source§fn from(node: &'ast NamespacePrelude) -> Self
fn from(node: &'ast NamespacePrelude) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast NamespacePreludeUri> for NodeRef<'ast>
impl<'ast> From<&'ast NamespacePreludeUri> for NodeRef<'ast>
Source§fn from(node: &'ast NamespacePreludeUri) -> Self
fn from(node: &'ast NamespacePreludeUri) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast NestingSelector> for NodeRef<'ast>
impl<'ast> From<&'ast NestingSelector> for NodeRef<'ast>
Source§fn from(node: &'ast NestingSelector) -> Self
fn from(node: &'ast NestingSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast NumberType> for NodeRef<'ast>
impl<'ast> From<&'ast NumberType> for NodeRef<'ast>
Source§fn from(node: &'ast NumberType) -> Self
fn from(node: &'ast NumberType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PageSelector> for NodeRef<'ast>
impl<'ast> From<&'ast PageSelector> for NodeRef<'ast>
Source§fn from(node: &'ast PageSelector) -> Self
fn from(node: &'ast PageSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PageSelectorList> for NodeRef<'ast>
impl<'ast> From<&'ast PageSelectorList> for NodeRef<'ast>
Source§fn from(node: &'ast PageSelectorList) -> Self
fn from(node: &'ast PageSelectorList) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PageSelectorPseudo> for NodeRef<'ast>
impl<'ast> From<&'ast PageSelectorPseudo> for NodeRef<'ast>
Source§fn from(node: &'ast PageSelectorPseudo) -> Self
fn from(node: &'ast PageSelectorPseudo) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PageSelectorType> for NodeRef<'ast>
impl<'ast> From<&'ast PageSelectorType> for NodeRef<'ast>
Source§fn from(node: &'ast PageSelectorType) -> Self
fn from(node: &'ast PageSelectorType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast Percentage> for NodeRef<'ast>
impl<'ast> From<&'ast Percentage> for NodeRef<'ast>
Source§fn from(node: &'ast Percentage) -> Self
fn from(node: &'ast Percentage) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PseudoClassSelector> for NodeRef<'ast>
impl<'ast> From<&'ast PseudoClassSelector> for NodeRef<'ast>
Source§fn from(node: &'ast PseudoClassSelector) -> Self
fn from(node: &'ast PseudoClassSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PseudoClassSelectorChildren> for NodeRef<'ast>
impl<'ast> From<&'ast PseudoClassSelectorChildren> for NodeRef<'ast>
Source§fn from(node: &'ast PseudoClassSelectorChildren) -> Self
fn from(node: &'ast PseudoClassSelectorChildren) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PseudoElementSelector> for NodeRef<'ast>
impl<'ast> From<&'ast PseudoElementSelector> for NodeRef<'ast>
Source§fn from(node: &'ast PseudoElementSelector) -> Self
fn from(node: &'ast PseudoElementSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PseudoElementSelectorChildren> for NodeRef<'ast>
impl<'ast> From<&'ast PseudoElementSelectorChildren> for NodeRef<'ast>
Source§fn from(node: &'ast PseudoElementSelectorChildren) -> Self
fn from(node: &'ast PseudoElementSelectorChildren) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast QualifiedRule> for NodeRef<'ast>
impl<'ast> From<&'ast QualifiedRule> for NodeRef<'ast>
Source§fn from(node: &'ast QualifiedRule) -> Self
fn from(node: &'ast QualifiedRule) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast QualifiedRulePrelude> for NodeRef<'ast>
impl<'ast> From<&'ast QualifiedRulePrelude> for NodeRef<'ast>
Source§fn from(node: &'ast QualifiedRulePrelude) -> Self
fn from(node: &'ast QualifiedRulePrelude) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast QueryInParens> for NodeRef<'ast>
impl<'ast> From<&'ast QueryInParens> for NodeRef<'ast>
Source§fn from(node: &'ast QueryInParens) -> Self
fn from(node: &'ast QueryInParens) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast RelativeSelector> for NodeRef<'ast>
impl<'ast> From<&'ast RelativeSelector> for NodeRef<'ast>
Source§fn from(node: &'ast RelativeSelector) -> Self
fn from(node: &'ast RelativeSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast RelativeSelectorList> for NodeRef<'ast>
impl<'ast> From<&'ast RelativeSelectorList> for NodeRef<'ast>
Source§fn from(node: &'ast RelativeSelectorList) -> Self
fn from(node: &'ast RelativeSelectorList) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast Resolution> for NodeRef<'ast>
impl<'ast> From<&'ast Resolution> for NodeRef<'ast>
Source§fn from(node: &'ast Resolution) -> Self
fn from(node: &'ast Resolution) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ScopeRange> for NodeRef<'ast>
impl<'ast> From<&'ast ScopeRange> for NodeRef<'ast>
Source§fn from(node: &'ast ScopeRange) -> Self
fn from(node: &'ast ScopeRange) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SelectorList> for NodeRef<'ast>
impl<'ast> From<&'ast SelectorList> for NodeRef<'ast>
Source§fn from(node: &'ast SelectorList) -> Self
fn from(node: &'ast SelectorList) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SequenceOfCustomIdents> for NodeRef<'ast>
impl<'ast> From<&'ast SequenceOfCustomIdents> for NodeRef<'ast>
Source§fn from(node: &'ast SequenceOfCustomIdents) -> Self
fn from(node: &'ast SequenceOfCustomIdents) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SimpleBlock> for NodeRef<'ast>
impl<'ast> From<&'ast SimpleBlock> for NodeRef<'ast>
Source§fn from(node: &'ast SimpleBlock) -> Self
fn from(node: &'ast SimpleBlock) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SizeFeature> for NodeRef<'ast>
impl<'ast> From<&'ast SizeFeature> for NodeRef<'ast>
Source§fn from(node: &'ast SizeFeature) -> Self
fn from(node: &'ast SizeFeature) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SizeFeatureBoolean> for NodeRef<'ast>
impl<'ast> From<&'ast SizeFeatureBoolean> for NodeRef<'ast>
Source§fn from(node: &'ast SizeFeatureBoolean) -> Self
fn from(node: &'ast SizeFeatureBoolean) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SizeFeatureName> for NodeRef<'ast>
impl<'ast> From<&'ast SizeFeatureName> for NodeRef<'ast>
Source§fn from(node: &'ast SizeFeatureName) -> Self
fn from(node: &'ast SizeFeatureName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SizeFeaturePlain> for NodeRef<'ast>
impl<'ast> From<&'ast SizeFeaturePlain> for NodeRef<'ast>
Source§fn from(node: &'ast SizeFeaturePlain) -> Self
fn from(node: &'ast SizeFeaturePlain) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SizeFeatureRange> for NodeRef<'ast>
impl<'ast> From<&'ast SizeFeatureRange> for NodeRef<'ast>
Source§fn from(node: &'ast SizeFeatureRange) -> Self
fn from(node: &'ast SizeFeatureRange) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SizeFeatureRangeComparison> for NodeRef<'ast>
impl<'ast> From<&'ast SizeFeatureRangeComparison> for NodeRef<'ast>
Source§fn from(node: &'ast SizeFeatureRangeComparison) -> Self
fn from(node: &'ast SizeFeatureRangeComparison) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SizeFeatureRangeInterval> for NodeRef<'ast>
impl<'ast> From<&'ast SizeFeatureRangeInterval> for NodeRef<'ast>
Source§fn from(node: &'ast SizeFeatureRangeInterval) -> Self
fn from(node: &'ast SizeFeatureRangeInterval) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SizeFeatureValue> for NodeRef<'ast>
impl<'ast> From<&'ast SizeFeatureValue> for NodeRef<'ast>
Source§fn from(node: &'ast SizeFeatureValue) -> Self
fn from(node: &'ast SizeFeatureValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast StyleBlock> for NodeRef<'ast>
impl<'ast> From<&'ast StyleBlock> for NodeRef<'ast>
Source§fn from(node: &'ast StyleBlock) -> Self
fn from(node: &'ast StyleBlock) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast Stylesheet> for NodeRef<'ast>
impl<'ast> From<&'ast Stylesheet> for NodeRef<'ast>
Source§fn from(node: &'ast Stylesheet) -> Self
fn from(node: &'ast Stylesheet) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SubclassSelector> for NodeRef<'ast>
impl<'ast> From<&'ast SubclassSelector> for NodeRef<'ast>
Source§fn from(node: &'ast SubclassSelector) -> Self
fn from(node: &'ast SubclassSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SupportsAnd> for NodeRef<'ast>
impl<'ast> From<&'ast SupportsAnd> for NodeRef<'ast>
Source§fn from(node: &'ast SupportsAnd) -> Self
fn from(node: &'ast SupportsAnd) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SupportsCondition> for NodeRef<'ast>
impl<'ast> From<&'ast SupportsCondition> for NodeRef<'ast>
Source§fn from(node: &'ast SupportsCondition) -> Self
fn from(node: &'ast SupportsCondition) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SupportsConditionType> for NodeRef<'ast>
impl<'ast> From<&'ast SupportsConditionType> for NodeRef<'ast>
Source§fn from(node: &'ast SupportsConditionType) -> Self
fn from(node: &'ast SupportsConditionType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SupportsFeature> for NodeRef<'ast>
impl<'ast> From<&'ast SupportsFeature> for NodeRef<'ast>
Source§fn from(node: &'ast SupportsFeature) -> Self
fn from(node: &'ast SupportsFeature) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SupportsInParens> for NodeRef<'ast>
impl<'ast> From<&'ast SupportsInParens> for NodeRef<'ast>
Source§fn from(node: &'ast SupportsInParens) -> Self
fn from(node: &'ast SupportsInParens) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SupportsNot> for NodeRef<'ast>
impl<'ast> From<&'ast SupportsNot> for NodeRef<'ast>
Source§fn from(node: &'ast SupportsNot) -> Self
fn from(node: &'ast SupportsNot) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SupportsOr> for NodeRef<'ast>
impl<'ast> From<&'ast SupportsOr> for NodeRef<'ast>
Source§fn from(node: &'ast SupportsOr) -> Self
fn from(node: &'ast SupportsOr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TagNameSelector> for NodeRef<'ast>
impl<'ast> From<&'ast TagNameSelector> for NodeRef<'ast>
Source§fn from(node: &'ast TagNameSelector) -> Self
fn from(node: &'ast TagNameSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TimePercentage> for NodeRef<'ast>
impl<'ast> From<&'ast TimePercentage> for NodeRef<'ast>
Source§fn from(node: &'ast TimePercentage) -> Self
fn from(node: &'ast TimePercentage) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TokenAndSpan> for NodeRef<'ast>
impl<'ast> From<&'ast TokenAndSpan> for NodeRef<'ast>
Source§fn from(node: &'ast TokenAndSpan) -> Self
fn from(node: &'ast TokenAndSpan) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TypeSelector> for NodeRef<'ast>
impl<'ast> From<&'ast TypeSelector> for NodeRef<'ast>
Source§fn from(node: &'ast TypeSelector) -> Self
fn from(node: &'ast TypeSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast UnicodeRange> for NodeRef<'ast>
impl<'ast> From<&'ast UnicodeRange> for NodeRef<'ast>
Source§fn from(node: &'ast UnicodeRange) -> Self
fn from(node: &'ast UnicodeRange) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast UniversalSelector> for NodeRef<'ast>
impl<'ast> From<&'ast UniversalSelector> for NodeRef<'ast>
Source§fn from(node: &'ast UniversalSelector) -> Self
fn from(node: &'ast UniversalSelector) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast UnknownDimension> for NodeRef<'ast>
impl<'ast> From<&'ast UnknownDimension> for NodeRef<'ast>
Source§fn from(node: &'ast UnknownDimension) -> Self
fn from(node: &'ast UnknownDimension) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast UrlKeyValue> for NodeRef<'ast>
impl<'ast> From<&'ast UrlKeyValue> for NodeRef<'ast>
Source§fn from(node: &'ast UrlKeyValue) -> Self
fn from(node: &'ast UrlKeyValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast UrlModifier> for NodeRef<'ast>
impl<'ast> From<&'ast UrlModifier> for NodeRef<'ast>
Source§fn from(node: &'ast UrlModifier) -> Self
fn from(node: &'ast UrlModifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast UrlValueRaw> for NodeRef<'ast>
impl<'ast> From<&'ast UrlValueRaw> for NodeRef<'ast>
Source§fn from(node: &'ast UrlValueRaw) -> Self
fn from(node: &'ast UrlValueRaw) -> Self
Converts to this type from the input type.
impl<'ast> Copy for NodeRef<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for NodeRef<'ast>
impl<'ast> RefUnwindSafe for NodeRef<'ast>
impl<'ast> Send for NodeRef<'ast>
impl<'ast> Sync for NodeRef<'ast>
impl<'ast> Unpin for NodeRef<'ast>
impl<'ast> UnwindSafe for NodeRef<'ast>
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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