#[non_exhaustive]pub enum Kind {
Show 260 variants
AbiTagAttr,
AccessSpecDecl,
AliasAttr,
AlignedAttr,
AllocAlignAttr,
AllocSizeAttr,
AlwaysInlineAttr,
ArrayInitIndexExpr,
ArrayInitLoopExpr,
ArraySubscriptExpr,
ArrayTypeTraitExpr,
AsmLabelAttr,
AtomicExpr,
AtomicType,
AttributedStmt,
AttributedType,
AutoType,
AvailabilityAttr,
BinaryConditionalOperator,
BinaryOperator,
BindingDecl,
BlockCommandComment,
BlockPointerType,
BreakStmt,
BuiltinAttr,
BuiltinBitCastExpr,
BuiltinTemplateDecl,
BuiltinType,
CStyleCastExpr,
CXX11NoReturnAttr,
CXXBindTemporaryExpr,
CXXBoolLiteralExpr,
CXXCatchStmt,
CXXConstCastExpr,
CXXConstructExpr,
CXXConstructorDecl,
CXXConversionDecl,
CXXCtorInitializer,
CXXDeductionGuideDecl,
CXXDefaultArgExpr,
CXXDefaultInitExpr,
CXXDeleteExpr,
CXXDependentScopeMemberExpr,
CXXDestructorDecl,
CXXDynamicCastExpr,
CXXFoldExpr,
CXXForRangeStmt,
CXXFunctionalCastExpr,
CXXInheritedCtorInitExpr,
CXXMemberCallExpr,
CXXMethodDecl,
CXXNewExpr,
CXXNoexceptExpr,
CXXNullPtrLiteralExpr,
CXXOperatorCallExpr,
CXXPseudoDestructorExpr,
CXXRecordDecl,
CXXReinterpretCastExpr,
CXXRewrittenBinaryOperator,
CXXScalarValueInitExpr,
CXXStaticCastExpr,
CXXTemporaryObjectExpr,
CXXThisExpr,
CXXThrowExpr,
CXXTryStmt,
CXXTypeidExpr,
CXXUnresolvedConstructExpr,
CallExpr,
CallbackAttr,
CaseStmt,
CharacterLiteral,
ClassTemplateDecl,
ClassTemplatePartialSpecializationDecl,
ClassTemplateSpecializationDecl,
ColdAttr,
ComplexType,
CompoundAssignOperator,
CompoundLiteralExpr,
CompoundRequirement,
CompoundStmt,
ConceptDecl,
ConceptSpecializationExpr,
ConditionalOperator,
ConstAttr,
ConstantArrayType,
ConstantExpr,
ConstructorUsingShadowDecl,
ContinueStmt,
ConvertVectorExpr,
DLLImportAttr,
DecayedType,
DeclRefExpr,
DeclStmt,
DecltypeType,
DecompositionDecl,
DefaultStmt,
DependentNameType,
DependentScopeDeclRefExpr,
DependentSizedArrayType,
DependentTemplateSpecializationType,
DeprecatedAttr,
DesignatedInitExpr,
DiagnoseIfAttr,
DisableTailCallsAttr,
DoStmt,
ElaboratedType,
EmptyDecl,
EnableIfAttr,
EnumConstantDecl,
EnumDecl,
EnumType,
ExcludeFromExplicitInstantiationAttr,
ExprWithCleanups,
FallThroughAttr,
FieldDecl,
FileScopeAsmDecl,
FinalAttr,
FloatingLiteral,
ForStmt,
FormatArgAttr,
FormatAttr,
FriendDecl,
FullComment,
FunctionDecl,
FunctionProtoType,
FunctionTemplateDecl,
GCCAsmStmt,
GNUInlineAttr,
GNUNullExpr,
GotoStmt,
HTMLEndTagComment,
HTMLStartTagComment,
IfStmt,
ImplicitCastExpr,
ImplicitValueInitExpr,
IncompleteArrayType,
IndirectFieldDecl,
IndirectGotoStmt,
InitListExpr,
InjectedClassNameType,
InlineCommandComment,
IntegerLiteral,
InternalLinkageAttr,
LValueReferenceType,
LabelStmt,
LambdaExpr,
LifetimeBoundAttr,
LikelyAttr,
LinkageSpecDecl,
MaterializeTemporaryExpr,
MaxFieldAlignmentAttr,
MayAliasAttr,
MemberExpr,
MemberPointerType,
MinVectorWidthAttr,
ModeAttr,
NamespaceAliasDecl,
NamespaceDecl,
NestedRequirement,
NoAliasAttr,
NoDebugAttr,
NoEscapeAttr,
NoInlineAttr,
NoSanitizeAttr,
NoThrowAttr,
NoUniqueAddressAttr,
NonNullAttr,
NonTypeTemplateParmDecl,
NullStmt,
OffsetOfExpr,
OpaqueValueExpr,
OverrideAttr,
OwnerAttr,
PackExpansionExpr,
PackExpansionType,
PackedAttr,
ParagraphComment,
ParamCommandComment,
ParenExpr,
ParenListExpr,
ParenType,
ParmVarDecl,
PointerAttr,
PointerType,
PredefinedExpr,
PreferredNameAttr,
PureAttr,
QualType,
RValueReferenceType,
RecordDecl,
RecordType,
RecoveryExpr,
RequiresExpr,
RestrictAttr,
ReturnStmt,
ReturnsNonNullAttr,
ReturnsTwiceAttr,
ShuffleVectorExpr,
SimpleRequirement,
SizeOfPackExpr,
StandaloneDebugAttr,
StaticAssertDecl,
StmtExpr,
StringLiteral,
SubstNonTypeTemplateParmExpr,
SubstTemplateTypeParmPackType,
SubstTemplateTypeParmType,
SwiftAttrAttr,
SwitchStmt,
TParamCommandComment,
TargetAttr,
TemplateArgument,
TemplateSpecializationType,
TemplateTemplateParmDecl,
TemplateTypeParmDecl,
TemplateTypeParmType,
TextComment,
TranslationUnitDecl,
TypeAliasDecl,
TypeAliasTemplateDecl,
TypeOfExprType,
TypeRequirement,
TypeTraitExpr,
TypeVisibilityAttr,
TypedefDecl,
TypedefType,
UnaryExprOrTypeTraitExpr,
UnaryOperator,
UnaryTransformType,
UnavailableAttr,
UnlikelyAttr,
UnresolvedLookupExpr,
UnresolvedMemberExpr,
UnresolvedUsingIfExistsDecl,
UnresolvedUsingTypenameDecl,
UnresolvedUsingValueDecl,
UnusedAttr,
UserDefinedLiteral,
UsingDecl,
UsingDirectiveDecl,
UsingEnumDecl,
UsingIfExistsAttr,
UsingShadowDecl,
UsingType,
VTablePointerAuthenticationAttr,
VarDecl,
VarTemplateDecl,
VarTemplatePartialSpecializationDecl,
VarTemplateSpecializationDecl,
VectorType,
VerbatimBlockComment,
VerbatimBlockLineComment,
VerbatimLineComment,
VisibilityAttr,
WarnUnusedResultAttr,
WeakAttr,
WeakImportAttr,
WeakRefAttr,
WhileStmt,
null,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AbiTagAttr
AccessSpecDecl
AliasAttr
AlignedAttr
AllocAlignAttr
AllocSizeAttr
AlwaysInlineAttr
ArrayInitIndexExpr
ArrayInitLoopExpr
ArraySubscriptExpr
ArrayTypeTraitExpr
AsmLabelAttr
AtomicExpr
AtomicType
AttributedStmt
AttributedType
AutoType
AvailabilityAttr
BinaryConditionalOperator
BinaryOperator
BindingDecl
BlockCommandComment
BlockPointerType
BreakStmt
BuiltinAttr
BuiltinBitCastExpr
BuiltinTemplateDecl
BuiltinType
CStyleCastExpr
CXX11NoReturnAttr
CXXBindTemporaryExpr
CXXBoolLiteralExpr
CXXCatchStmt
CXXConstCastExpr
CXXConstructExpr
CXXConstructorDecl
CXXConversionDecl
CXXCtorInitializer
CXXDeductionGuideDecl
CXXDefaultArgExpr
CXXDefaultInitExpr
CXXDeleteExpr
CXXDependentScopeMemberExpr
CXXDestructorDecl
CXXDynamicCastExpr
CXXFoldExpr
CXXForRangeStmt
CXXFunctionalCastExpr
CXXInheritedCtorInitExpr
CXXMemberCallExpr
CXXMethodDecl
CXXNewExpr
CXXNoexceptExpr
CXXNullPtrLiteralExpr
CXXOperatorCallExpr
CXXPseudoDestructorExpr
CXXRecordDecl
CXXReinterpretCastExpr
CXXRewrittenBinaryOperator
CXXScalarValueInitExpr
CXXStaticCastExpr
CXXTemporaryObjectExpr
CXXThisExpr
CXXThrowExpr
CXXTryStmt
CXXTypeidExpr
CXXUnresolvedConstructExpr
CallExpr
CallbackAttr
CaseStmt
CharacterLiteral
ClassTemplateDecl
ClassTemplatePartialSpecializationDecl
ClassTemplateSpecializationDecl
ColdAttr
ComplexType
CompoundAssignOperator
CompoundLiteralExpr
CompoundRequirement
CompoundStmt
ConceptDecl
ConceptSpecializationExpr
ConditionalOperator
ConstAttr
ConstantArrayType
ConstantExpr
ConstructorUsingShadowDecl
ContinueStmt
ConvertVectorExpr
DLLImportAttr
DecayedType
DeclRefExpr
DeclStmt
DecltypeType
DecompositionDecl
DefaultStmt
DependentNameType
DependentScopeDeclRefExpr
DependentSizedArrayType
DependentTemplateSpecializationType
DeprecatedAttr
DesignatedInitExpr
DiagnoseIfAttr
DisableTailCallsAttr
DoStmt
ElaboratedType
EmptyDecl
EnableIfAttr
EnumConstantDecl
EnumDecl
EnumType
ExcludeFromExplicitInstantiationAttr
ExprWithCleanups
FallThroughAttr
FieldDecl
FileScopeAsmDecl
FinalAttr
FloatingLiteral
ForStmt
FormatArgAttr
FormatAttr
FriendDecl
FullComment
FunctionDecl
FunctionProtoType
FunctionTemplateDecl
GCCAsmStmt
GNUInlineAttr
GNUNullExpr
GotoStmt
HTMLEndTagComment
HTMLStartTagComment
IfStmt
ImplicitCastExpr
ImplicitValueInitExpr
IncompleteArrayType
IndirectFieldDecl
IndirectGotoStmt
InitListExpr
InjectedClassNameType
InlineCommandComment
IntegerLiteral
InternalLinkageAttr
LValueReferenceType
LabelStmt
LambdaExpr
LifetimeBoundAttr
LikelyAttr
LinkageSpecDecl
MaterializeTemporaryExpr
MaxFieldAlignmentAttr
MayAliasAttr
MemberExpr
MemberPointerType
MinVectorWidthAttr
ModeAttr
NamespaceAliasDecl
NamespaceDecl
NestedRequirement
NoAliasAttr
NoDebugAttr
NoEscapeAttr
NoInlineAttr
NoSanitizeAttr
NoThrowAttr
NoUniqueAddressAttr
NonNullAttr
NonTypeTemplateParmDecl
NullStmt
OffsetOfExpr
OpaqueValueExpr
OverrideAttr
OwnerAttr
PackExpansionExpr
PackExpansionType
PackedAttr
ParagraphComment
ParamCommandComment
ParenExpr
ParenListExpr
ParenType
ParmVarDecl
PointerAttr
PointerType
PredefinedExpr
PreferredNameAttr
PureAttr
QualType
RValueReferenceType
RecordDecl
RecordType
RecoveryExpr
RequiresExpr
RestrictAttr
ReturnStmt
ReturnsNonNullAttr
ReturnsTwiceAttr
ShuffleVectorExpr
SimpleRequirement
SizeOfPackExpr
StandaloneDebugAttr
StaticAssertDecl
StmtExpr
StringLiteral
SubstNonTypeTemplateParmExpr
SubstTemplateTypeParmPackType
SubstTemplateTypeParmType
SwiftAttrAttr
SwitchStmt
TParamCommandComment
TargetAttr
TemplateArgument
TemplateSpecializationType
TemplateTemplateParmDecl
TemplateTypeParmDecl
TemplateTypeParmType
TextComment
TranslationUnitDecl
TypeAliasDecl
TypeAliasTemplateDecl
TypeOfExprType
TypeRequirement
TypeTraitExpr
TypeVisibilityAttr
TypedefDecl
TypedefType
UnaryExprOrTypeTraitExpr
UnaryOperator
UnaryTransformType
UnlikelyAttr
UnresolvedLookupExpr
UnresolvedMemberExpr
UnresolvedUsingIfExistsDecl
UnresolvedUsingTypenameDecl
UnresolvedUsingValueDecl
UnusedAttr
UserDefinedLiteral
UsingDecl
UsingDirectiveDecl
UsingEnumDecl
UsingIfExistsAttr
UsingShadowDecl
UsingType
VTablePointerAuthenticationAttr
VarDecl
VarTemplateDecl
VarTemplatePartialSpecializationDecl
VarTemplateSpecializationDecl
VectorType
VerbatimBlockComment
VerbatimBlockLineComment
VerbatimLineComment
VisibilityAttr
WarnUnusedResultAttr
WeakAttr
WeakImportAttr
WeakRefAttr
WhileStmt
null
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Kind
impl<'de> Deserialize<'de> for Kind
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Kind
impl Ord for Kind
Source§impl PartialOrd for Kind
impl PartialOrd for Kind
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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