Enum swc_css_visit::AstParentNodeRef
source · pub enum AstParentNodeRef<'ast> {
Show 161 variants
TokenAndSpan(&'ast TokenAndSpan, TokenAndSpanField),
SimpleBlock(&'ast SimpleBlock, SimpleBlockField),
ComponentValue(&'ast ComponentValue, ComponentValueField),
Ident(&'ast Ident, IdentField),
CustomIdent(&'ast CustomIdent, CustomIdentField),
CustomPropertyName(&'ast CustomPropertyName, CustomPropertyNameField),
DashedIdent(&'ast DashedIdent, DashedIdentField),
Str(&'ast Str, StrField),
Integer(&'ast Integer, IntegerField),
Number(&'ast Number, NumberField),
Declaration(&'ast Declaration, DeclarationField),
DeclarationName(&'ast DeclarationName, DeclarationNameField),
ImportantFlag(&'ast ImportantFlag, ImportantFlagField),
QualifiedRule(&'ast QualifiedRule, QualifiedRuleField),
QualifiedRulePrelude(&'ast QualifiedRulePrelude, QualifiedRulePreludeField),
StyleBlock(&'ast StyleBlock, StyleBlockField),
DeclarationOrAtRule(&'ast DeclarationOrAtRule, DeclarationOrAtRuleField),
Delimiter(&'ast Delimiter, DelimiterField),
FunctionName(&'ast FunctionName, FunctionNameField),
Function(&'ast Function, FunctionField),
Color(&'ast Color, ColorField),
AbsoluteColorBase(&'ast AbsoluteColorBase, AbsoluteColorBaseField),
HexColor(&'ast HexColor, HexColorField),
AlphaValue(&'ast AlphaValue, AlphaValueField),
Hue(&'ast Hue, HueField),
CmykComponent(&'ast CmykComponent, CmykComponentField),
Dimension(&'ast Dimension, DimensionField),
Length(&'ast Length, LengthField),
Angle(&'ast Angle, AngleField),
Time(&'ast Time, TimeField),
Frequency(&'ast Frequency, FrequencyField),
Resolution(&'ast Resolution, ResolutionField),
Flex(&'ast Flex, FlexField),
UnknownDimension(&'ast UnknownDimension, UnknownDimensionField),
Percentage(&'ast Percentage, PercentageField),
LengthPercentage(&'ast LengthPercentage, LengthPercentageField),
FrequencyPercentage(&'ast FrequencyPercentage, FrequencyPercentageField),
AnglePercentage(&'ast AnglePercentage, AnglePercentageField),
TimePercentage(&'ast TimePercentage, TimePercentageField),
Ratio(&'ast Ratio, RatioField),
Url(&'ast Url, UrlField),
UrlValue(&'ast UrlValue, UrlValueField),
UrlValueRaw(&'ast UrlValueRaw, UrlValueRawField),
UrlModifier(&'ast UrlModifier, UrlModifierField),
UnicodeRange(&'ast UnicodeRange, UnicodeRangeField),
CalcSum(&'ast CalcSum, CalcSumField),
CalcProductOrOperator(&'ast CalcProductOrOperator, CalcProductOrOperatorField),
CalcProduct(&'ast CalcProduct, CalcProductField),
CalcOperator(&'ast CalcOperator, CalcOperatorField),
CalcValueOrOperator(&'ast CalcValueOrOperator, CalcValueOrOperatorField),
CalcValue(&'ast CalcValue, CalcValueField),
FamilyName(&'ast FamilyName, FamilyNameField),
SequenceOfCustomIdents(&'ast SequenceOfCustomIdents, SequenceOfCustomIdentsField),
SelectorList(&'ast SelectorList, SelectorListField),
ForgivingSelectorList(&'ast ForgivingSelectorList, ForgivingSelectorListField),
ForgivingComplexSelector(&'ast ForgivingComplexSelector, ForgivingComplexSelectorField),
CompoundSelectorList(&'ast CompoundSelectorList, CompoundSelectorListField),
RelativeSelectorList(&'ast RelativeSelectorList, RelativeSelectorListField),
ForgivingRelativeSelectorList(&'ast ForgivingRelativeSelectorList, ForgivingRelativeSelectorListField),
ForgivingRelativeSelector(&'ast ForgivingRelativeSelector, ForgivingRelativeSelectorField),
ComplexSelector(&'ast ComplexSelector, ComplexSelectorField),
ComplexSelectorChildren(&'ast ComplexSelectorChildren, ComplexSelectorChildrenField),
RelativeSelector(&'ast RelativeSelector, RelativeSelectorField),
CompoundSelector(&'ast CompoundSelector, CompoundSelectorField),
Combinator(&'ast Combinator, CombinatorField),
TypeSelector(&'ast TypeSelector, TypeSelectorField),
TagNameSelector(&'ast TagNameSelector, TagNameSelectorField),
UniversalSelector(&'ast UniversalSelector, UniversalSelectorField),
NamespacePrefix(&'ast NamespacePrefix, NamespacePrefixField),
Namespace(&'ast Namespace, NamespaceField),
NamedNamespace(&'ast NamedNamespace, NamedNamespaceField),
AnyNamespace(&'ast AnyNamespace, AnyNamespaceField),
WqName(&'ast WqName, WqNameField),
NestingSelector(&'ast NestingSelector, NestingSelectorField),
SubclassSelector(&'ast SubclassSelector, SubclassSelectorField),
AttributeSelector(&'ast AttributeSelector, AttributeSelectorField),
AttributeSelectorMatcher(&'ast AttributeSelectorMatcher, AttributeSelectorMatcherField),
AttributeSelectorValue(&'ast AttributeSelectorValue, AttributeSelectorValueField),
AttributeSelectorModifier(&'ast AttributeSelectorModifier, AttributeSelectorModifierField),
PseudoClassSelector(&'ast PseudoClassSelector, PseudoClassSelectorField),
PseudoClassSelectorChildren(&'ast PseudoClassSelectorChildren, PseudoClassSelectorChildrenField),
AnPlusB(&'ast AnPlusB, AnPlusBField),
AnPlusBNotation(&'ast AnPlusBNotation, AnPlusBNotationField),
PseudoElementSelector(&'ast PseudoElementSelector, PseudoElementSelectorField),
PseudoElementSelectorChildren(&'ast PseudoElementSelectorChildren, PseudoElementSelectorChildrenField),
CustomHighlightName(&'ast CustomHighlightName, CustomHighlightNameField),
IdSelector(&'ast IdSelector, IdSelectorField),
ClassSelector(&'ast ClassSelector, ClassSelectorField),
Stylesheet(&'ast Stylesheet, StylesheetField),
Rule(&'ast Rule, RuleField),
ImportPrelude(&'ast ImportPrelude, ImportPreludeField),
ImportHref(&'ast ImportHref, ImportHrefField),
ImportLayerName(&'ast ImportLayerName, ImportLayerNameField),
ImportConditions(&'ast ImportConditions, ImportConditionsField),
NamespacePrelude(&'ast NamespacePrelude, NamespacePreludeField),
NamespacePreludeUri(&'ast NamespacePreludeUri, NamespacePreludeUriField),
AtRule(&'ast AtRule, AtRuleField),
AtRuleName(&'ast AtRuleName, AtRuleNameField),
AtRulePrelude(&'ast AtRulePrelude, AtRulePreludeField),
ListOfComponentValues(&'ast ListOfComponentValues, ListOfComponentValuesField),
ColorProfileName(&'ast ColorProfileName, ColorProfileNameField),
DocumentPrelude(&'ast DocumentPrelude, DocumentPreludeField),
FontFeatureValuesPrelude(&'ast FontFeatureValuesPrelude, FontFeatureValuesPreludeField),
DocumentPreludeMatchingFunction(&'ast DocumentPreludeMatchingFunction, DocumentPreludeMatchingFunctionField),
KeyframesName(&'ast KeyframesName, KeyframesNameField),
KeyframesPseudoPrefix(&'ast KeyframesPseudoPrefix, KeyframesPseudoPrefixField),
KeyframesPseudoFunction(&'ast KeyframesPseudoFunction, KeyframesPseudoFunctionField),
KeyframeBlock(&'ast KeyframeBlock, KeyframeBlockField),
KeyframeSelector(&'ast KeyframeSelector, KeyframeSelectorField),
LayerName(&'ast LayerName, LayerNameField),
LayerNameList(&'ast LayerNameList, LayerNameListField),
LayerPrelude(&'ast LayerPrelude, LayerPreludeField),
MediaQueryList(&'ast MediaQueryList, MediaQueryListField),
MediaQuery(&'ast MediaQuery, MediaQueryField),
MediaType(&'ast MediaType, MediaTypeField),
MediaConditionType(&'ast MediaConditionType, MediaConditionTypeField),
MediaCondition(&'ast MediaCondition, MediaConditionField),
MediaConditionWithoutOr(&'ast MediaConditionWithoutOr, MediaConditionWithoutOrField),
MediaConditionAllType(&'ast MediaConditionAllType, MediaConditionAllTypeField),
MediaConditionWithoutOrType(&'ast MediaConditionWithoutOrType, MediaConditionWithoutOrTypeField),
MediaNot(&'ast MediaNot, MediaNotField),
MediaAnd(&'ast MediaAnd, MediaAndField),
MediaOr(&'ast MediaOr, MediaOrField),
MediaInParens(&'ast MediaInParens, MediaInParensField),
MediaFeature(&'ast MediaFeature, MediaFeatureField),
MediaFeatureName(&'ast MediaFeatureName, MediaFeatureNameField),
MediaFeatureValue(&'ast MediaFeatureValue, MediaFeatureValueField),
MediaFeaturePlain(&'ast MediaFeaturePlain, MediaFeaturePlainField),
MediaFeatureBoolean(&'ast MediaFeatureBoolean, MediaFeatureBooleanField),
MediaFeatureRange(&'ast MediaFeatureRange, MediaFeatureRangeField),
MediaFeatureRangeInterval(&'ast MediaFeatureRangeInterval, MediaFeatureRangeIntervalField),
PageSelectorList(&'ast PageSelectorList, PageSelectorListField),
PageSelector(&'ast PageSelector, PageSelectorField),
PageSelectorType(&'ast PageSelectorType, PageSelectorTypeField),
PageSelectorPseudo(&'ast PageSelectorPseudo, PageSelectorPseudoField),
SupportsCondition(&'ast SupportsCondition, SupportsConditionField),
SupportsConditionType(&'ast SupportsConditionType, SupportsConditionTypeField),
SupportsNot(&'ast SupportsNot, SupportsNotField),
SupportsAnd(&'ast SupportsAnd, SupportsAndField),
SupportsOr(&'ast SupportsOr, SupportsOrField),
SupportsInParens(&'ast SupportsInParens, SupportsInParensField),
SupportsFeature(&'ast SupportsFeature, SupportsFeatureField),
ContainerCondition(&'ast ContainerCondition, ContainerConditionField),
ContainerName(&'ast ContainerName, ContainerNameField),
ContainerQuery(&'ast ContainerQuery, ContainerQueryField),
ContainerQueryType(&'ast ContainerQueryType, ContainerQueryTypeField),
ContainerQueryNot(&'ast ContainerQueryNot, ContainerQueryNotField),
ContainerQueryAnd(&'ast ContainerQueryAnd, ContainerQueryAndField),
ContainerQueryOr(&'ast ContainerQueryOr, ContainerQueryOrField),
QueryInParens(&'ast QueryInParens, QueryInParensField),
SizeFeature(&'ast SizeFeature, SizeFeatureField),
SizeFeaturePlain(&'ast SizeFeaturePlain, SizeFeaturePlainField),
SizeFeatureBoolean(&'ast SizeFeatureBoolean, SizeFeatureBooleanField),
SizeFeatureRange(&'ast SizeFeatureRange, SizeFeatureRangeField),
SizeFeatureRangeInterval(&'ast SizeFeatureRangeInterval, SizeFeatureRangeIntervalField),
SizeFeatureValue(&'ast SizeFeatureValue, SizeFeatureValueField),
SizeFeatureName(&'ast SizeFeatureName, SizeFeatureNameField),
ExtensionName(&'ast ExtensionName, ExtensionNameField),
CustomMediaQuery(&'ast CustomMediaQuery, CustomMediaQueryField),
CustomMediaQueryMediaType(&'ast CustomMediaQueryMediaType, CustomMediaQueryMediaTypeField),
GeneralEnclosed(&'ast GeneralEnclosed, GeneralEnclosedField),
}
Variants§
TokenAndSpan(&'ast TokenAndSpan, TokenAndSpanField)
SimpleBlock(&'ast SimpleBlock, SimpleBlockField)
ComponentValue(&'ast ComponentValue, ComponentValueField)
Ident(&'ast Ident, IdentField)
CustomIdent(&'ast CustomIdent, CustomIdentField)
CustomPropertyName(&'ast CustomPropertyName, CustomPropertyNameField)
DashedIdent(&'ast DashedIdent, DashedIdentField)
Str(&'ast Str, StrField)
Integer(&'ast Integer, IntegerField)
Number(&'ast Number, NumberField)
Declaration(&'ast Declaration, DeclarationField)
DeclarationName(&'ast DeclarationName, DeclarationNameField)
ImportantFlag(&'ast ImportantFlag, ImportantFlagField)
QualifiedRule(&'ast QualifiedRule, QualifiedRuleField)
QualifiedRulePrelude(&'ast QualifiedRulePrelude, QualifiedRulePreludeField)
StyleBlock(&'ast StyleBlock, StyleBlockField)
DeclarationOrAtRule(&'ast DeclarationOrAtRule, DeclarationOrAtRuleField)
Delimiter(&'ast Delimiter, DelimiterField)
FunctionName(&'ast FunctionName, FunctionNameField)
Function(&'ast Function, FunctionField)
Color(&'ast Color, ColorField)
AbsoluteColorBase(&'ast AbsoluteColorBase, AbsoluteColorBaseField)
HexColor(&'ast HexColor, HexColorField)
AlphaValue(&'ast AlphaValue, AlphaValueField)
Hue(&'ast Hue, HueField)
CmykComponent(&'ast CmykComponent, CmykComponentField)
Dimension(&'ast Dimension, DimensionField)
Length(&'ast Length, LengthField)
Angle(&'ast Angle, AngleField)
Time(&'ast Time, TimeField)
Frequency(&'ast Frequency, FrequencyField)
Resolution(&'ast Resolution, ResolutionField)
Flex(&'ast Flex, FlexField)
UnknownDimension(&'ast UnknownDimension, UnknownDimensionField)
Percentage(&'ast Percentage, PercentageField)
LengthPercentage(&'ast LengthPercentage, LengthPercentageField)
FrequencyPercentage(&'ast FrequencyPercentage, FrequencyPercentageField)
AnglePercentage(&'ast AnglePercentage, AnglePercentageField)
TimePercentage(&'ast TimePercentage, TimePercentageField)
Ratio(&'ast Ratio, RatioField)
Url(&'ast Url, UrlField)
UrlValue(&'ast UrlValue, UrlValueField)
UrlValueRaw(&'ast UrlValueRaw, UrlValueRawField)
UrlModifier(&'ast UrlModifier, UrlModifierField)
UnicodeRange(&'ast UnicodeRange, UnicodeRangeField)
CalcSum(&'ast CalcSum, CalcSumField)
CalcProductOrOperator(&'ast CalcProductOrOperator, CalcProductOrOperatorField)
CalcProduct(&'ast CalcProduct, CalcProductField)
CalcOperator(&'ast CalcOperator, CalcOperatorField)
CalcValueOrOperator(&'ast CalcValueOrOperator, CalcValueOrOperatorField)
CalcValue(&'ast CalcValue, CalcValueField)
FamilyName(&'ast FamilyName, FamilyNameField)
SequenceOfCustomIdents(&'ast SequenceOfCustomIdents, SequenceOfCustomIdentsField)
SelectorList(&'ast SelectorList, SelectorListField)
ForgivingSelectorList(&'ast ForgivingSelectorList, ForgivingSelectorListField)
ForgivingComplexSelector(&'ast ForgivingComplexSelector, ForgivingComplexSelectorField)
CompoundSelectorList(&'ast CompoundSelectorList, CompoundSelectorListField)
RelativeSelectorList(&'ast RelativeSelectorList, RelativeSelectorListField)
ForgivingRelativeSelectorList(&'ast ForgivingRelativeSelectorList, ForgivingRelativeSelectorListField)
ForgivingRelativeSelector(&'ast ForgivingRelativeSelector, ForgivingRelativeSelectorField)
ComplexSelector(&'ast ComplexSelector, ComplexSelectorField)
ComplexSelectorChildren(&'ast ComplexSelectorChildren, ComplexSelectorChildrenField)
RelativeSelector(&'ast RelativeSelector, RelativeSelectorField)
CompoundSelector(&'ast CompoundSelector, CompoundSelectorField)
Combinator(&'ast Combinator, CombinatorField)
TypeSelector(&'ast TypeSelector, TypeSelectorField)
TagNameSelector(&'ast TagNameSelector, TagNameSelectorField)
UniversalSelector(&'ast UniversalSelector, UniversalSelectorField)
NamespacePrefix(&'ast NamespacePrefix, NamespacePrefixField)
Namespace(&'ast Namespace, NamespaceField)
NamedNamespace(&'ast NamedNamespace, NamedNamespaceField)
AnyNamespace(&'ast AnyNamespace, AnyNamespaceField)
WqName(&'ast WqName, WqNameField)
NestingSelector(&'ast NestingSelector, NestingSelectorField)
SubclassSelector(&'ast SubclassSelector, SubclassSelectorField)
AttributeSelector(&'ast AttributeSelector, AttributeSelectorField)
AttributeSelectorMatcher(&'ast AttributeSelectorMatcher, AttributeSelectorMatcherField)
AttributeSelectorValue(&'ast AttributeSelectorValue, AttributeSelectorValueField)
AttributeSelectorModifier(&'ast AttributeSelectorModifier, AttributeSelectorModifierField)
PseudoClassSelector(&'ast PseudoClassSelector, PseudoClassSelectorField)
PseudoClassSelectorChildren(&'ast PseudoClassSelectorChildren, PseudoClassSelectorChildrenField)
AnPlusB(&'ast AnPlusB, AnPlusBField)
AnPlusBNotation(&'ast AnPlusBNotation, AnPlusBNotationField)
PseudoElementSelector(&'ast PseudoElementSelector, PseudoElementSelectorField)
PseudoElementSelectorChildren(&'ast PseudoElementSelectorChildren, PseudoElementSelectorChildrenField)
CustomHighlightName(&'ast CustomHighlightName, CustomHighlightNameField)
IdSelector(&'ast IdSelector, IdSelectorField)
ClassSelector(&'ast ClassSelector, ClassSelectorField)
Stylesheet(&'ast Stylesheet, StylesheetField)
Rule(&'ast Rule, RuleField)
ImportPrelude(&'ast ImportPrelude, ImportPreludeField)
ImportHref(&'ast ImportHref, ImportHrefField)
ImportLayerName(&'ast ImportLayerName, ImportLayerNameField)
ImportConditions(&'ast ImportConditions, ImportConditionsField)
NamespacePrelude(&'ast NamespacePrelude, NamespacePreludeField)
NamespacePreludeUri(&'ast NamespacePreludeUri, NamespacePreludeUriField)
AtRule(&'ast AtRule, AtRuleField)
AtRuleName(&'ast AtRuleName, AtRuleNameField)
AtRulePrelude(&'ast AtRulePrelude, AtRulePreludeField)
ListOfComponentValues(&'ast ListOfComponentValues, ListOfComponentValuesField)
ColorProfileName(&'ast ColorProfileName, ColorProfileNameField)
DocumentPrelude(&'ast DocumentPrelude, DocumentPreludeField)
FontFeatureValuesPrelude(&'ast FontFeatureValuesPrelude, FontFeatureValuesPreludeField)
DocumentPreludeMatchingFunction(&'ast DocumentPreludeMatchingFunction, DocumentPreludeMatchingFunctionField)
KeyframesName(&'ast KeyframesName, KeyframesNameField)
KeyframesPseudoPrefix(&'ast KeyframesPseudoPrefix, KeyframesPseudoPrefixField)
KeyframesPseudoFunction(&'ast KeyframesPseudoFunction, KeyframesPseudoFunctionField)
KeyframeBlock(&'ast KeyframeBlock, KeyframeBlockField)
KeyframeSelector(&'ast KeyframeSelector, KeyframeSelectorField)
LayerName(&'ast LayerName, LayerNameField)
LayerNameList(&'ast LayerNameList, LayerNameListField)
LayerPrelude(&'ast LayerPrelude, LayerPreludeField)
MediaQueryList(&'ast MediaQueryList, MediaQueryListField)
MediaQuery(&'ast MediaQuery, MediaQueryField)
MediaType(&'ast MediaType, MediaTypeField)
MediaConditionType(&'ast MediaConditionType, MediaConditionTypeField)
MediaCondition(&'ast MediaCondition, MediaConditionField)
MediaConditionWithoutOr(&'ast MediaConditionWithoutOr, MediaConditionWithoutOrField)
MediaConditionAllType(&'ast MediaConditionAllType, MediaConditionAllTypeField)
MediaConditionWithoutOrType(&'ast MediaConditionWithoutOrType, MediaConditionWithoutOrTypeField)
MediaNot(&'ast MediaNot, MediaNotField)
MediaAnd(&'ast MediaAnd, MediaAndField)
MediaOr(&'ast MediaOr, MediaOrField)
MediaInParens(&'ast MediaInParens, MediaInParensField)
MediaFeature(&'ast MediaFeature, MediaFeatureField)
MediaFeatureName(&'ast MediaFeatureName, MediaFeatureNameField)
MediaFeatureValue(&'ast MediaFeatureValue, MediaFeatureValueField)
MediaFeaturePlain(&'ast MediaFeaturePlain, MediaFeaturePlainField)
MediaFeatureBoolean(&'ast MediaFeatureBoolean, MediaFeatureBooleanField)
MediaFeatureRange(&'ast MediaFeatureRange, MediaFeatureRangeField)
MediaFeatureRangeInterval(&'ast MediaFeatureRangeInterval, MediaFeatureRangeIntervalField)
PageSelectorList(&'ast PageSelectorList, PageSelectorListField)
PageSelector(&'ast PageSelector, PageSelectorField)
PageSelectorType(&'ast PageSelectorType, PageSelectorTypeField)
PageSelectorPseudo(&'ast PageSelectorPseudo, PageSelectorPseudoField)
SupportsCondition(&'ast SupportsCondition, SupportsConditionField)
SupportsConditionType(&'ast SupportsConditionType, SupportsConditionTypeField)
SupportsNot(&'ast SupportsNot, SupportsNotField)
SupportsAnd(&'ast SupportsAnd, SupportsAndField)
SupportsOr(&'ast SupportsOr, SupportsOrField)
SupportsInParens(&'ast SupportsInParens, SupportsInParensField)
SupportsFeature(&'ast SupportsFeature, SupportsFeatureField)
ContainerCondition(&'ast ContainerCondition, ContainerConditionField)
ContainerName(&'ast ContainerName, ContainerNameField)
ContainerQuery(&'ast ContainerQuery, ContainerQueryField)
ContainerQueryType(&'ast ContainerQueryType, ContainerQueryTypeField)
ContainerQueryNot(&'ast ContainerQueryNot, ContainerQueryNotField)
ContainerQueryAnd(&'ast ContainerQueryAnd, ContainerQueryAndField)
ContainerQueryOr(&'ast ContainerQueryOr, ContainerQueryOrField)
QueryInParens(&'ast QueryInParens, QueryInParensField)
SizeFeature(&'ast SizeFeature, SizeFeatureField)
SizeFeaturePlain(&'ast SizeFeaturePlain, SizeFeaturePlainField)
SizeFeatureBoolean(&'ast SizeFeatureBoolean, SizeFeatureBooleanField)
SizeFeatureRange(&'ast SizeFeatureRange, SizeFeatureRangeField)
SizeFeatureRangeInterval(&'ast SizeFeatureRangeInterval, SizeFeatureRangeIntervalField)
SizeFeatureValue(&'ast SizeFeatureValue, SizeFeatureValueField)
SizeFeatureName(&'ast SizeFeatureName, SizeFeatureNameField)
ExtensionName(&'ast ExtensionName, ExtensionNameField)
CustomMediaQuery(&'ast CustomMediaQuery, CustomMediaQueryField)
CustomMediaQueryMediaType(&'ast CustomMediaQueryMediaType, CustomMediaQueryMediaTypeField)
GeneralEnclosed(&'ast GeneralEnclosed, GeneralEnclosedField)
Implementations§
source§impl AstParentNodeRef<'_>
impl AstParentNodeRef<'_>
pub fn kind(&self) -> AstParentKind
Trait Implementations§
source§impl<'ast> Clone for AstParentNodeRef<'ast>
impl<'ast> Clone for AstParentNodeRef<'ast>
source§fn clone(&self) -> AstParentNodeRef<'ast>
fn clone(&self) -> AstParentNodeRef<'ast>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'ast> Debug for AstParentNodeRef<'ast>
impl<'ast> Debug for AstParentNodeRef<'ast>
source§impl<'ast> PartialEq<AstParentNodeRef<'ast>> for AstParentNodeRef<'ast>
impl<'ast> PartialEq<AstParentNodeRef<'ast>> for AstParentNodeRef<'ast>
source§fn eq(&self, other: &AstParentNodeRef<'ast>) -> bool
fn eq(&self, other: &AstParentNodeRef<'ast>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'ast> Copy for AstParentNodeRef<'ast>
impl<'ast> StructuralPartialEq for AstParentNodeRef<'ast>
Auto Trait Implementations§
impl<'ast> RefUnwindSafe for AstParentNodeRef<'ast>
impl<'ast> Send for AstParentNodeRef<'ast>
impl<'ast> Sync for AstParentNodeRef<'ast>
impl<'ast> Unpin for AstParentNodeRef<'ast>
impl<'ast> UnwindSafe for AstParentNodeRef<'ast>
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
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> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.