swc_css_visit

Enum NodeRef

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

source§

impl<'ast> NodeRef<'ast>

source

pub fn experimental_raw_children<'a>( &'a self, ) -> Box<dyn Iterator<Item = NodeRef<'ast>> + 'a>

This is not a part of semver-stable API. It is experimental and subject to change.

source§

impl<'ast> NodeRef<'ast>

source

pub fn experimental_traverse( &'ast self, ) -> Box<dyn Iterator<Item = NodeRef<'ast>> + 'ast>

Visit all nodes in self in preorder.

This is not a part of semver-stable API. It is experimental and subject to change.

Trait Implementations§

source§

impl<'ast> Clone for NodeRef<'ast>

source§

fn clone(&self) -> NodeRef<'ast>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'ast> Debug for NodeRef<'ast>

source§

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

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

impl<'ast> From<&'ast AbsoluteColorBase> for NodeRef<'ast>

source§

fn from(node: &'ast AbsoluteColorBase) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AlphaValue> for NodeRef<'ast>

source§

fn from(node: &'ast AlphaValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AnPlusB> for NodeRef<'ast>

source§

fn from(node: &'ast AnPlusB) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AnPlusBNotation> for NodeRef<'ast>

source§

fn from(node: &'ast AnPlusBNotation) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Angle> for NodeRef<'ast>

source§

fn from(node: &'ast Angle) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AnglePercentage> for NodeRef<'ast>

source§

fn from(node: &'ast AnglePercentage) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AnyNamespace> for NodeRef<'ast>

source§

fn from(node: &'ast AnyNamespace) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AtRule> for NodeRef<'ast>

source§

fn from(node: &'ast AtRule) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AtRuleName> for NodeRef<'ast>

source§

fn from(node: &'ast AtRuleName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AtRulePrelude> for NodeRef<'ast>

source§

fn from(node: &'ast AtRulePrelude) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AttributeSelector> for NodeRef<'ast>

source§

fn from(node: &'ast AttributeSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AttributeSelectorMatcher> for NodeRef<'ast>

source§

fn from(node: &'ast AttributeSelectorMatcher) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AttributeSelectorMatcherValue> for NodeRef<'ast>

source§

fn from(node: &'ast AttributeSelectorMatcherValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AttributeSelectorModifier> for NodeRef<'ast>

source§

fn from(node: &'ast AttributeSelectorModifier) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast AttributeSelectorValue> for NodeRef<'ast>

source§

fn from(node: &'ast AttributeSelectorValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast BinOp> for NodeRef<'ast>

source§

fn from(node: &'ast BinOp) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CalcOperator> for NodeRef<'ast>

source§

fn from(node: &'ast CalcOperator) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CalcOperatorType> for NodeRef<'ast>

source§

fn from(node: &'ast CalcOperatorType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CalcProduct> for NodeRef<'ast>

source§

fn from(node: &'ast CalcProduct) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CalcProductOrOperator> for NodeRef<'ast>

source§

fn from(node: &'ast CalcProductOrOperator) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CalcSum> for NodeRef<'ast>

source§

fn from(node: &'ast CalcSum) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CalcValue> for NodeRef<'ast>

source§

fn from(node: &'ast CalcValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CalcValueOrOperator> for NodeRef<'ast>

source§

fn from(node: &'ast CalcValueOrOperator) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ClassSelector> for NodeRef<'ast>

source§

fn from(node: &'ast ClassSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CmykComponent> for NodeRef<'ast>

source§

fn from(node: &'ast CmykComponent) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Color> for NodeRef<'ast>

source§

fn from(node: &'ast Color) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ColorProfileName> for NodeRef<'ast>

source§

fn from(node: &'ast ColorProfileName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Combinator> for NodeRef<'ast>

source§

fn from(node: &'ast Combinator) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CombinatorValue> for NodeRef<'ast>

source§

fn from(node: &'ast CombinatorValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ComplexSelector> for NodeRef<'ast>

source§

fn from(node: &'ast ComplexSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ComplexSelectorChildren> for NodeRef<'ast>

source§

fn from(node: &'ast ComplexSelectorChildren) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ComponentValue> for NodeRef<'ast>

source§

fn from(node: &'ast ComponentValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CompoundSelector> for NodeRef<'ast>

source§

fn from(node: &'ast CompoundSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CompoundSelectorList> for NodeRef<'ast>

source§

fn from(node: &'ast CompoundSelectorList) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ContainerCondition> for NodeRef<'ast>

source§

fn from(node: &'ast ContainerCondition) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ContainerName> for NodeRef<'ast>

source§

fn from(node: &'ast ContainerName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ContainerQuery> for NodeRef<'ast>

source§

fn from(node: &'ast ContainerQuery) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ContainerQueryAnd> for NodeRef<'ast>

source§

fn from(node: &'ast ContainerQueryAnd) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ContainerQueryNot> for NodeRef<'ast>

source§

fn from(node: &'ast ContainerQueryNot) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ContainerQueryOr> for NodeRef<'ast>

source§

fn from(node: &'ast ContainerQueryOr) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ContainerQueryType> for NodeRef<'ast>

source§

fn from(node: &'ast ContainerQueryType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CustomHighlightName> for NodeRef<'ast>

source§

fn from(node: &'ast CustomHighlightName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CustomIdent> for NodeRef<'ast>

source§

fn from(node: &'ast CustomIdent) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CustomMediaQuery> for NodeRef<'ast>

source§

fn from(node: &'ast CustomMediaQuery) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CustomMediaQueryMediaType> for NodeRef<'ast>

source§

fn from(node: &'ast CustomMediaQueryMediaType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast CustomPropertyName> for NodeRef<'ast>

source§

fn from(node: &'ast CustomPropertyName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast DashedIdent> for NodeRef<'ast>

source§

fn from(node: &'ast DashedIdent) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Declaration> for NodeRef<'ast>

source§

fn from(node: &'ast Declaration) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast DeclarationName> for NodeRef<'ast>

source§

fn from(node: &'ast DeclarationName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast DeclarationOrAtRule> for NodeRef<'ast>

source§

fn from(node: &'ast DeclarationOrAtRule) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Delimiter> for NodeRef<'ast>

source§

fn from(node: &'ast Delimiter) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast DelimiterValue> for NodeRef<'ast>

source§

fn from(node: &'ast DelimiterValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Dimension> for NodeRef<'ast>

source§

fn from(node: &'ast Dimension) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast DimensionToken> for NodeRef<'ast>

source§

fn from(node: &'ast DimensionToken) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast DocumentPrelude> for NodeRef<'ast>

source§

fn from(node: &'ast DocumentPrelude) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast DocumentPreludeMatchingFunction> for NodeRef<'ast>

source§

fn from(node: &'ast DocumentPreludeMatchingFunction) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ExtensionName> for NodeRef<'ast>

source§

fn from(node: &'ast ExtensionName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast FamilyName> for NodeRef<'ast>

source§

fn from(node: &'ast FamilyName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Flex> for NodeRef<'ast>

source§

fn from(node: &'ast Flex) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast FontFeatureValuesPrelude> for NodeRef<'ast>

source§

fn from(node: &'ast FontFeatureValuesPrelude) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ForgivingComplexSelector> for NodeRef<'ast>

source§

fn from(node: &'ast ForgivingComplexSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ForgivingRelativeSelector> for NodeRef<'ast>

source§

fn from(node: &'ast ForgivingRelativeSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ForgivingRelativeSelectorList> for NodeRef<'ast>

source§

fn from(node: &'ast ForgivingRelativeSelectorList) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ForgivingSelectorList> for NodeRef<'ast>

source§

fn from(node: &'ast ForgivingSelectorList) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Frequency> for NodeRef<'ast>

source§

fn from(node: &'ast Frequency) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast FrequencyPercentage> for NodeRef<'ast>

source§

fn from(node: &'ast FrequencyPercentage) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Function> for NodeRef<'ast>

source§

fn from(node: &'ast Function) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast FunctionName> for NodeRef<'ast>

source§

fn from(node: &'ast FunctionName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast GeneralEnclosed> for NodeRef<'ast>

source§

fn from(node: &'ast GeneralEnclosed) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast HexColor> for NodeRef<'ast>

source§

fn from(node: &'ast HexColor) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Hue> for NodeRef<'ast>

source§

fn from(node: &'ast Hue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast IdSelector> for NodeRef<'ast>

source§

fn from(node: &'ast IdSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Ident> for NodeRef<'ast>

source§

fn from(node: &'ast Ident) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ImportConditions> for NodeRef<'ast>

source§

fn from(node: &'ast ImportConditions) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ImportHref> for NodeRef<'ast>

source§

fn from(node: &'ast ImportHref) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ImportLayerName> for NodeRef<'ast>

source§

fn from(node: &'ast ImportLayerName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ImportPrelude> for NodeRef<'ast>

source§

fn from(node: &'ast ImportPrelude) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ImportantFlag> for NodeRef<'ast>

source§

fn from(node: &'ast ImportantFlag) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Integer> for NodeRef<'ast>

source§

fn from(node: &'ast Integer) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast KeyframeBlock> for NodeRef<'ast>

source§

fn from(node: &'ast KeyframeBlock) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast KeyframeSelector> for NodeRef<'ast>

source§

fn from(node: &'ast KeyframeSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast KeyframesName> for NodeRef<'ast>

source§

fn from(node: &'ast KeyframesName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast KeyframesPseudoFunction> for NodeRef<'ast>

source§

fn from(node: &'ast KeyframesPseudoFunction) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast KeyframesPseudoPrefix> for NodeRef<'ast>

source§

fn from(node: &'ast KeyframesPseudoPrefix) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast LayerName> for NodeRef<'ast>

source§

fn from(node: &'ast LayerName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast LayerNameList> for NodeRef<'ast>

source§

fn from(node: &'ast LayerNameList) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast LayerPrelude> for NodeRef<'ast>

source§

fn from(node: &'ast LayerPrelude) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Length> for NodeRef<'ast>

source§

fn from(node: &'ast Length) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast LengthPercentage> for NodeRef<'ast>

source§

fn from(node: &'ast LengthPercentage) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ListOfComponentValues> for NodeRef<'ast>

source§

fn from(node: &'ast ListOfComponentValues) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaAnd> for NodeRef<'ast>

source§

fn from(node: &'ast MediaAnd) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaCondition> for NodeRef<'ast>

source§

fn from(node: &'ast MediaCondition) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaConditionAllType> for NodeRef<'ast>

source§

fn from(node: &'ast MediaConditionAllType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaConditionType> for NodeRef<'ast>

source§

fn from(node: &'ast MediaConditionType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaConditionWithoutOr> for NodeRef<'ast>

source§

fn from(node: &'ast MediaConditionWithoutOr) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaConditionWithoutOrType> for NodeRef<'ast>

source§

fn from(node: &'ast MediaConditionWithoutOrType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaFeature> for NodeRef<'ast>

source§

fn from(node: &'ast MediaFeature) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaFeatureBoolean> for NodeRef<'ast>

source§

fn from(node: &'ast MediaFeatureBoolean) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaFeatureName> for NodeRef<'ast>

source§

fn from(node: &'ast MediaFeatureName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaFeaturePlain> for NodeRef<'ast>

source§

fn from(node: &'ast MediaFeaturePlain) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaFeatureRange> for NodeRef<'ast>

source§

fn from(node: &'ast MediaFeatureRange) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaFeatureRangeComparison> for NodeRef<'ast>

source§

fn from(node: &'ast MediaFeatureRangeComparison) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaFeatureRangeInterval> for NodeRef<'ast>

source§

fn from(node: &'ast MediaFeatureRangeInterval) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaFeatureValue> for NodeRef<'ast>

source§

fn from(node: &'ast MediaFeatureValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaInParens> for NodeRef<'ast>

source§

fn from(node: &'ast MediaInParens) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaNot> for NodeRef<'ast>

source§

fn from(node: &'ast MediaNot) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaOr> for NodeRef<'ast>

source§

fn from(node: &'ast MediaOr) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaQuery> for NodeRef<'ast>

source§

fn from(node: &'ast MediaQuery) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaQueryList> for NodeRef<'ast>

source§

fn from(node: &'ast MediaQueryList) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast MediaType> for NodeRef<'ast>

source§

fn from(node: &'ast MediaType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast NamedNamespace> for NodeRef<'ast>

source§

fn from(node: &'ast NamedNamespace) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Namespace> for NodeRef<'ast>

source§

fn from(node: &'ast Namespace) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast NamespacePrefix> for NodeRef<'ast>

source§

fn from(node: &'ast NamespacePrefix) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast NamespacePrelude> for NodeRef<'ast>

source§

fn from(node: &'ast NamespacePrelude) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast NamespacePreludeUri> for NodeRef<'ast>

source§

fn from(node: &'ast NamespacePreludeUri) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast NestingSelector> for NodeRef<'ast>

source§

fn from(node: &'ast NestingSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Number> for NodeRef<'ast>

source§

fn from(node: &'ast Number) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast NumberType> for NodeRef<'ast>

source§

fn from(node: &'ast NumberType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast PageSelector> for NodeRef<'ast>

source§

fn from(node: &'ast PageSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast PageSelectorList> for NodeRef<'ast>

source§

fn from(node: &'ast PageSelectorList) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast PageSelectorPseudo> for NodeRef<'ast>

source§

fn from(node: &'ast PageSelectorPseudo) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast PageSelectorType> for NodeRef<'ast>

source§

fn from(node: &'ast PageSelectorType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Percentage> for NodeRef<'ast>

source§

fn from(node: &'ast Percentage) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast PseudoClassSelector> for NodeRef<'ast>

source§

fn from(node: &'ast PseudoClassSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast PseudoClassSelectorChildren> for NodeRef<'ast>

source§

fn from(node: &'ast PseudoClassSelectorChildren) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast PseudoElementSelector> for NodeRef<'ast>

source§

fn from(node: &'ast PseudoElementSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast PseudoElementSelectorChildren> for NodeRef<'ast>

source§

fn from(node: &'ast PseudoElementSelectorChildren) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast QualifiedRule> for NodeRef<'ast>

source§

fn from(node: &'ast QualifiedRule) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast QualifiedRulePrelude> for NodeRef<'ast>

source§

fn from(node: &'ast QualifiedRulePrelude) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast QueryInParens> for NodeRef<'ast>

source§

fn from(node: &'ast QueryInParens) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Ratio> for NodeRef<'ast>

source§

fn from(node: &'ast Ratio) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast RelativeSelector> for NodeRef<'ast>

source§

fn from(node: &'ast RelativeSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast RelativeSelectorList> for NodeRef<'ast>

source§

fn from(node: &'ast RelativeSelectorList) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Resolution> for NodeRef<'ast>

source§

fn from(node: &'ast Resolution) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Rule> for NodeRef<'ast>

source§

fn from(node: &'ast Rule) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast ScopeRange> for NodeRef<'ast>

source§

fn from(node: &'ast ScopeRange) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SelectorList> for NodeRef<'ast>

source§

fn from(node: &'ast SelectorList) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SequenceOfCustomIdents> for NodeRef<'ast>

source§

fn from(node: &'ast SequenceOfCustomIdents) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SimpleBlock> for NodeRef<'ast>

source§

fn from(node: &'ast SimpleBlock) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SizeFeature> for NodeRef<'ast>

source§

fn from(node: &'ast SizeFeature) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SizeFeatureBoolean> for NodeRef<'ast>

source§

fn from(node: &'ast SizeFeatureBoolean) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SizeFeatureName> for NodeRef<'ast>

source§

fn from(node: &'ast SizeFeatureName) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SizeFeaturePlain> for NodeRef<'ast>

source§

fn from(node: &'ast SizeFeaturePlain) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SizeFeatureRange> for NodeRef<'ast>

source§

fn from(node: &'ast SizeFeatureRange) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SizeFeatureRangeComparison> for NodeRef<'ast>

source§

fn from(node: &'ast SizeFeatureRangeComparison) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SizeFeatureRangeInterval> for NodeRef<'ast>

source§

fn from(node: &'ast SizeFeatureRangeInterval) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SizeFeatureValue> for NodeRef<'ast>

source§

fn from(node: &'ast SizeFeatureValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Str> for NodeRef<'ast>

source§

fn from(node: &'ast Str) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast StyleBlock> for NodeRef<'ast>

source§

fn from(node: &'ast StyleBlock) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Stylesheet> for NodeRef<'ast>

source§

fn from(node: &'ast Stylesheet) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SubclassSelector> for NodeRef<'ast>

source§

fn from(node: &'ast SubclassSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SupportsAnd> for NodeRef<'ast>

source§

fn from(node: &'ast SupportsAnd) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SupportsCondition> for NodeRef<'ast>

source§

fn from(node: &'ast SupportsCondition) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SupportsConditionType> for NodeRef<'ast>

source§

fn from(node: &'ast SupportsConditionType) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SupportsFeature> for NodeRef<'ast>

source§

fn from(node: &'ast SupportsFeature) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SupportsInParens> for NodeRef<'ast>

source§

fn from(node: &'ast SupportsInParens) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SupportsNot> for NodeRef<'ast>

source§

fn from(node: &'ast SupportsNot) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast SupportsOr> for NodeRef<'ast>

source§

fn from(node: &'ast SupportsOr) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast TagNameSelector> for NodeRef<'ast>

source§

fn from(node: &'ast TagNameSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Time> for NodeRef<'ast>

source§

fn from(node: &'ast Time) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast TimePercentage> for NodeRef<'ast>

source§

fn from(node: &'ast TimePercentage) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Token> for NodeRef<'ast>

source§

fn from(node: &'ast Token) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast TokenAndSpan> for NodeRef<'ast>

source§

fn from(node: &'ast TokenAndSpan) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast TypeSelector> for NodeRef<'ast>

source§

fn from(node: &'ast TypeSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast UnicodeRange> for NodeRef<'ast>

source§

fn from(node: &'ast UnicodeRange) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast UniversalSelector> for NodeRef<'ast>

source§

fn from(node: &'ast UniversalSelector) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast UnknownDimension> for NodeRef<'ast>

source§

fn from(node: &'ast UnknownDimension) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Url> for NodeRef<'ast>

source§

fn from(node: &'ast Url) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast UrlKeyValue> for NodeRef<'ast>

source§

fn from(node: &'ast UrlKeyValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast UrlModifier> for NodeRef<'ast>

source§

fn from(node: &'ast UrlModifier) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast UrlValue> for NodeRef<'ast>

source§

fn from(node: &'ast UrlValue) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast UrlValueRaw> for NodeRef<'ast>

source§

fn from(node: &'ast UrlValueRaw) -> Self

Converts to this type from the input type.
source§

impl<'ast> From<&'ast WqName> for NodeRef<'ast>

source§

fn from(node: &'ast WqName) -> Self

Converts to this type from the input type.
source§

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

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

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 T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
§

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

§

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

Deserializes using the given deserializer
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

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 T
where 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> IntoEither for T

source§

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

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> LayoutRaw for T

§

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

Gets the layout of the type.
§

impl<T> Pipe for T
where T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
§

impl<T> Pointee for T

§

type Metadata = ()

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

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

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

source§

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 T
where U: TryFrom<T>,

source§

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

impl<T> WithSubscriber for T

§

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
§

fn with_current_subscriber(self) -> WithDispatch<Self>

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