pub enum NodeRef<'ast> {
Show 236 variants
Accessibility(&'ast Accessibility),
ArrayLit(&'ast ArrayLit),
ArrayPat(&'ast ArrayPat),
ArrowExpr(&'ast ArrowExpr),
AssignExpr(&'ast AssignExpr),
AssignOp(&'ast AssignOp),
AssignPat(&'ast AssignPat),
AssignPatProp(&'ast AssignPatProp),
AssignProp(&'ast AssignProp),
AssignTarget(&'ast AssignTarget),
AssignTargetPat(&'ast AssignTargetPat),
AutoAccessor(&'ast AutoAccessor),
AwaitExpr(&'ast AwaitExpr),
BigInt(&'ast BigInt),
BinExpr(&'ast BinExpr),
BinaryOp(&'ast BinaryOp),
BindingIdent(&'ast BindingIdent),
BlockStmt(&'ast BlockStmt),
BlockStmtOrExpr(&'ast BlockStmtOrExpr),
Bool(&'ast Bool),
BreakStmt(&'ast BreakStmt),
CallExpr(&'ast CallExpr),
Callee(&'ast Callee),
CatchClause(&'ast CatchClause),
Class(&'ast Class),
ClassDecl(&'ast ClassDecl),
ClassExpr(&'ast ClassExpr),
ClassMember(&'ast ClassMember),
ClassMethod(&'ast ClassMethod),
ClassProp(&'ast ClassProp),
ComputedPropName(&'ast ComputedPropName),
CondExpr(&'ast CondExpr),
Constructor(&'ast Constructor),
ContinueStmt(&'ast ContinueStmt),
DebuggerStmt(&'ast DebuggerStmt),
Decl(&'ast Decl),
Decorator(&'ast Decorator),
DefaultDecl(&'ast DefaultDecl),
DoWhileStmt(&'ast DoWhileStmt),
EmptyStmt(&'ast EmptyStmt),
ExportAll(&'ast ExportAll),
ExportDecl(&'ast ExportDecl),
ExportDefaultDecl(&'ast ExportDefaultDecl),
ExportDefaultExpr(&'ast ExportDefaultExpr),
ExportDefaultSpecifier(&'ast ExportDefaultSpecifier),
ExportNamedSpecifier(&'ast ExportNamedSpecifier),
ExportNamespaceSpecifier(&'ast ExportNamespaceSpecifier),
ExportSpecifier(&'ast ExportSpecifier),
Expr(&'ast Expr),
ExprOrSpread(&'ast ExprOrSpread),
ExprStmt(&'ast ExprStmt),
FnDecl(&'ast FnDecl),
FnExpr(&'ast FnExpr),
ForHead(&'ast ForHead),
ForInStmt(&'ast ForInStmt),
ForOfStmt(&'ast ForOfStmt),
ForStmt(&'ast ForStmt),
Function(&'ast Function),
GetterProp(&'ast GetterProp),
Ident(&'ast Ident),
IdentName(&'ast IdentName),
IfStmt(&'ast IfStmt),
Import(&'ast Import),
ImportDecl(&'ast ImportDecl),
ImportDefaultSpecifier(&'ast ImportDefaultSpecifier),
ImportNamedSpecifier(&'ast ImportNamedSpecifier),
ImportPhase(&'ast ImportPhase),
ImportSpecifier(&'ast ImportSpecifier),
ImportStarAsSpecifier(&'ast ImportStarAsSpecifier),
ImportWith(&'ast ImportWith),
ImportWithItem(&'ast ImportWithItem),
Invalid(&'ast Invalid),
JSXAttr(&'ast JSXAttr),
JSXAttrName(&'ast JSXAttrName),
JSXAttrOrSpread(&'ast JSXAttrOrSpread),
JSXAttrValue(&'ast JSXAttrValue),
JSXClosingElement(&'ast JSXClosingElement),
JSXClosingFragment(&'ast JSXClosingFragment),
JSXElement(&'ast JSXElement),
JSXElementChild(&'ast JSXElementChild),
JSXElementName(&'ast JSXElementName),
JSXEmptyExpr(&'ast JSXEmptyExpr),
JSXExpr(&'ast JSXExpr),
JSXExprContainer(&'ast JSXExprContainer),
JSXFragment(&'ast JSXFragment),
JSXMemberExpr(&'ast JSXMemberExpr),
JSXNamespacedName(&'ast JSXNamespacedName),
JSXObject(&'ast JSXObject),
JSXOpeningElement(&'ast JSXOpeningElement),
JSXOpeningFragment(&'ast JSXOpeningFragment),
JSXSpreadChild(&'ast JSXSpreadChild),
JSXText(&'ast JSXText),
Key(&'ast Key),
KeyValuePatProp(&'ast KeyValuePatProp),
KeyValueProp(&'ast KeyValueProp),
LabeledStmt(&'ast LabeledStmt),
Lit(&'ast Lit),
MemberExpr(&'ast MemberExpr),
MemberProp(&'ast MemberProp),
MetaPropExpr(&'ast MetaPropExpr),
MetaPropKind(&'ast MetaPropKind),
MethodKind(&'ast MethodKind),
MethodProp(&'ast MethodProp),
Module(&'ast Module),
ModuleDecl(&'ast ModuleDecl),
ModuleExportName(&'ast ModuleExportName),
ModuleItem(&'ast ModuleItem),
NamedExport(&'ast NamedExport),
NewExpr(&'ast NewExpr),
Null(&'ast Null),
Number(&'ast Number),
ObjectLit(&'ast ObjectLit),
ObjectPat(&'ast ObjectPat),
ObjectPatProp(&'ast ObjectPatProp),
OptCall(&'ast OptCall),
OptChainBase(&'ast OptChainBase),
OptChainExpr(&'ast OptChainExpr),
Param(&'ast Param),
ParamOrTsParamProp(&'ast ParamOrTsParamProp),
ParenExpr(&'ast ParenExpr),
Pat(&'ast Pat),
PrivateMethod(&'ast PrivateMethod),
PrivateName(&'ast PrivateName),
PrivateProp(&'ast PrivateProp),
Program(&'ast Program),
Prop(&'ast Prop),
PropName(&'ast PropName),
PropOrSpread(&'ast PropOrSpread),
Regex(&'ast Regex),
RestPat(&'ast RestPat),
ReturnStmt(&'ast ReturnStmt),
Script(&'ast Script),
SeqExpr(&'ast SeqExpr),
SetterProp(&'ast SetterProp),
SimpleAssignTarget(&'ast SimpleAssignTarget),
SpreadElement(&'ast SpreadElement),
StaticBlock(&'ast StaticBlock),
Stmt(&'ast Stmt),
Str(&'ast Str),
Super(&'ast Super),
SuperProp(&'ast SuperProp),
SuperPropExpr(&'ast SuperPropExpr),
SwitchCase(&'ast SwitchCase),
SwitchStmt(&'ast SwitchStmt),
TaggedTpl(&'ast TaggedTpl),
ThisExpr(&'ast ThisExpr),
ThrowStmt(&'ast ThrowStmt),
Tpl(&'ast Tpl),
TplElement(&'ast TplElement),
TruePlusMinus(&'ast TruePlusMinus),
TryStmt(&'ast TryStmt),
TsArrayType(&'ast TsArrayType),
TsAsExpr(&'ast TsAsExpr),
TsCallSignatureDecl(&'ast TsCallSignatureDecl),
TsConditionalType(&'ast TsConditionalType),
TsConstAssertion(&'ast TsConstAssertion),
TsConstructSignatureDecl(&'ast TsConstructSignatureDecl),
TsConstructorType(&'ast TsConstructorType),
TsEntityName(&'ast TsEntityName),
TsEnumDecl(&'ast TsEnumDecl),
TsEnumMember(&'ast TsEnumMember),
TsEnumMemberId(&'ast TsEnumMemberId),
TsExportAssignment(&'ast TsExportAssignment),
TsExprWithTypeArgs(&'ast TsExprWithTypeArgs),
TsExternalModuleRef(&'ast TsExternalModuleRef),
TsFnOrConstructorType(&'ast TsFnOrConstructorType),
TsFnParam(&'ast TsFnParam),
TsFnType(&'ast TsFnType),
TsGetterSignature(&'ast TsGetterSignature),
TsImportCallOptions(&'ast TsImportCallOptions),
TsImportEqualsDecl(&'ast TsImportEqualsDecl),
TsImportType(&'ast TsImportType),
TsIndexSignature(&'ast TsIndexSignature),
TsIndexedAccessType(&'ast TsIndexedAccessType),
TsInferType(&'ast TsInferType),
TsInstantiation(&'ast TsInstantiation),
TsInterfaceBody(&'ast TsInterfaceBody),
TsInterfaceDecl(&'ast TsInterfaceDecl),
TsIntersectionType(&'ast TsIntersectionType),
TsKeywordType(&'ast TsKeywordType),
TsKeywordTypeKind(&'ast TsKeywordTypeKind),
TsLit(&'ast TsLit),
TsLitType(&'ast TsLitType),
TsMappedType(&'ast TsMappedType),
TsMethodSignature(&'ast TsMethodSignature),
TsModuleBlock(&'ast TsModuleBlock),
TsModuleDecl(&'ast TsModuleDecl),
TsModuleName(&'ast TsModuleName),
TsModuleRef(&'ast TsModuleRef),
TsNamespaceBody(&'ast TsNamespaceBody),
TsNamespaceDecl(&'ast TsNamespaceDecl),
TsNamespaceExportDecl(&'ast TsNamespaceExportDecl),
TsNonNullExpr(&'ast TsNonNullExpr),
TsOptionalType(&'ast TsOptionalType),
TsParamProp(&'ast TsParamProp),
TsParamPropParam(&'ast TsParamPropParam),
TsParenthesizedType(&'ast TsParenthesizedType),
TsPropertySignature(&'ast TsPropertySignature),
TsQualifiedName(&'ast TsQualifiedName),
TsRestType(&'ast TsRestType),
TsSatisfiesExpr(&'ast TsSatisfiesExpr),
TsSetterSignature(&'ast TsSetterSignature),
TsThisType(&'ast TsThisType),
TsThisTypeOrIdent(&'ast TsThisTypeOrIdent),
TsTplLitType(&'ast TsTplLitType),
TsTupleElement(&'ast TsTupleElement),
TsTupleType(&'ast TsTupleType),
TsType(&'ast TsType),
TsTypeAliasDecl(&'ast TsTypeAliasDecl),
TsTypeAnn(&'ast TsTypeAnn),
TsTypeAssertion(&'ast TsTypeAssertion),
TsTypeElement(&'ast TsTypeElement),
TsTypeLit(&'ast TsTypeLit),
TsTypeOperator(&'ast TsTypeOperator),
TsTypeOperatorOp(&'ast TsTypeOperatorOp),
TsTypeParam(&'ast TsTypeParam),
TsTypeParamDecl(&'ast TsTypeParamDecl),
TsTypeParamInstantiation(&'ast TsTypeParamInstantiation),
TsTypePredicate(&'ast TsTypePredicate),
TsTypeQuery(&'ast TsTypeQuery),
TsTypeQueryExpr(&'ast TsTypeQueryExpr),
TsTypeRef(&'ast TsTypeRef),
TsUnionOrIntersectionType(&'ast TsUnionOrIntersectionType),
TsUnionType(&'ast TsUnionType),
UnaryExpr(&'ast UnaryExpr),
UnaryOp(&'ast UnaryOp),
UpdateExpr(&'ast UpdateExpr),
UpdateOp(&'ast UpdateOp),
UsingDecl(&'ast UsingDecl),
VarDecl(&'ast VarDecl),
VarDeclKind(&'ast VarDeclKind),
VarDeclOrExpr(&'ast VarDeclOrExpr),
VarDeclarator(&'ast VarDeclarator),
WhileStmt(&'ast WhileStmt),
WithStmt(&'ast WithStmt),
YieldExpr(&'ast YieldExpr),
}Variants§
Accessibility(&'ast Accessibility)
ArrayLit(&'ast ArrayLit)
ArrayPat(&'ast ArrayPat)
ArrowExpr(&'ast ArrowExpr)
AssignExpr(&'ast AssignExpr)
AssignOp(&'ast AssignOp)
AssignPat(&'ast AssignPat)
AssignPatProp(&'ast AssignPatProp)
AssignProp(&'ast AssignProp)
AssignTarget(&'ast AssignTarget)
AssignTargetPat(&'ast AssignTargetPat)
AutoAccessor(&'ast AutoAccessor)
AwaitExpr(&'ast AwaitExpr)
BigInt(&'ast BigInt)
BinExpr(&'ast BinExpr)
BinaryOp(&'ast BinaryOp)
BindingIdent(&'ast BindingIdent)
BlockStmt(&'ast BlockStmt)
BlockStmtOrExpr(&'ast BlockStmtOrExpr)
Bool(&'ast Bool)
BreakStmt(&'ast BreakStmt)
CallExpr(&'ast CallExpr)
Callee(&'ast Callee)
CatchClause(&'ast CatchClause)
Class(&'ast Class)
ClassDecl(&'ast ClassDecl)
ClassExpr(&'ast ClassExpr)
ClassMember(&'ast ClassMember)
ClassMethod(&'ast ClassMethod)
ClassProp(&'ast ClassProp)
ComputedPropName(&'ast ComputedPropName)
CondExpr(&'ast CondExpr)
Constructor(&'ast Constructor)
ContinueStmt(&'ast ContinueStmt)
DebuggerStmt(&'ast DebuggerStmt)
Decl(&'ast Decl)
Decorator(&'ast Decorator)
DefaultDecl(&'ast DefaultDecl)
DoWhileStmt(&'ast DoWhileStmt)
EmptyStmt(&'ast EmptyStmt)
ExportAll(&'ast ExportAll)
ExportDecl(&'ast ExportDecl)
ExportDefaultDecl(&'ast ExportDefaultDecl)
ExportDefaultExpr(&'ast ExportDefaultExpr)
ExportDefaultSpecifier(&'ast ExportDefaultSpecifier)
ExportNamedSpecifier(&'ast ExportNamedSpecifier)
ExportNamespaceSpecifier(&'ast ExportNamespaceSpecifier)
ExportSpecifier(&'ast ExportSpecifier)
Expr(&'ast Expr)
ExprOrSpread(&'ast ExprOrSpread)
ExprStmt(&'ast ExprStmt)
FnDecl(&'ast FnDecl)
FnExpr(&'ast FnExpr)
ForHead(&'ast ForHead)
ForInStmt(&'ast ForInStmt)
ForOfStmt(&'ast ForOfStmt)
ForStmt(&'ast ForStmt)
Function(&'ast Function)
GetterProp(&'ast GetterProp)
Ident(&'ast Ident)
IdentName(&'ast IdentName)
IfStmt(&'ast IfStmt)
Import(&'ast Import)
ImportDecl(&'ast ImportDecl)
ImportDefaultSpecifier(&'ast ImportDefaultSpecifier)
ImportNamedSpecifier(&'ast ImportNamedSpecifier)
ImportPhase(&'ast ImportPhase)
ImportSpecifier(&'ast ImportSpecifier)
ImportStarAsSpecifier(&'ast ImportStarAsSpecifier)
ImportWith(&'ast ImportWith)
ImportWithItem(&'ast ImportWithItem)
Invalid(&'ast Invalid)
JSXAttr(&'ast JSXAttr)
JSXAttrName(&'ast JSXAttrName)
JSXAttrOrSpread(&'ast JSXAttrOrSpread)
JSXAttrValue(&'ast JSXAttrValue)
JSXClosingElement(&'ast JSXClosingElement)
JSXClosingFragment(&'ast JSXClosingFragment)
JSXElement(&'ast JSXElement)
JSXElementChild(&'ast JSXElementChild)
JSXElementName(&'ast JSXElementName)
JSXEmptyExpr(&'ast JSXEmptyExpr)
JSXExpr(&'ast JSXExpr)
JSXExprContainer(&'ast JSXExprContainer)
JSXFragment(&'ast JSXFragment)
JSXMemberExpr(&'ast JSXMemberExpr)
JSXNamespacedName(&'ast JSXNamespacedName)
JSXObject(&'ast JSXObject)
JSXOpeningElement(&'ast JSXOpeningElement)
JSXOpeningFragment(&'ast JSXOpeningFragment)
JSXSpreadChild(&'ast JSXSpreadChild)
JSXText(&'ast JSXText)
Key(&'ast Key)
KeyValuePatProp(&'ast KeyValuePatProp)
KeyValueProp(&'ast KeyValueProp)
LabeledStmt(&'ast LabeledStmt)
Lit(&'ast Lit)
MemberExpr(&'ast MemberExpr)
MemberProp(&'ast MemberProp)
MetaPropExpr(&'ast MetaPropExpr)
MetaPropKind(&'ast MetaPropKind)
MethodKind(&'ast MethodKind)
MethodProp(&'ast MethodProp)
Module(&'ast Module)
ModuleDecl(&'ast ModuleDecl)
ModuleExportName(&'ast ModuleExportName)
ModuleItem(&'ast ModuleItem)
NamedExport(&'ast NamedExport)
NewExpr(&'ast NewExpr)
Null(&'ast Null)
Number(&'ast Number)
ObjectLit(&'ast ObjectLit)
ObjectPat(&'ast ObjectPat)
ObjectPatProp(&'ast ObjectPatProp)
OptCall(&'ast OptCall)
OptChainBase(&'ast OptChainBase)
OptChainExpr(&'ast OptChainExpr)
Param(&'ast Param)
ParamOrTsParamProp(&'ast ParamOrTsParamProp)
ParenExpr(&'ast ParenExpr)
Pat(&'ast Pat)
PrivateMethod(&'ast PrivateMethod)
PrivateName(&'ast PrivateName)
PrivateProp(&'ast PrivateProp)
Program(&'ast Program)
Prop(&'ast Prop)
PropName(&'ast PropName)
PropOrSpread(&'ast PropOrSpread)
Regex(&'ast Regex)
RestPat(&'ast RestPat)
ReturnStmt(&'ast ReturnStmt)
Script(&'ast Script)
SeqExpr(&'ast SeqExpr)
SetterProp(&'ast SetterProp)
SimpleAssignTarget(&'ast SimpleAssignTarget)
SpreadElement(&'ast SpreadElement)
StaticBlock(&'ast StaticBlock)
Stmt(&'ast Stmt)
Str(&'ast Str)
Super(&'ast Super)
SuperProp(&'ast SuperProp)
SuperPropExpr(&'ast SuperPropExpr)
SwitchCase(&'ast SwitchCase)
SwitchStmt(&'ast SwitchStmt)
TaggedTpl(&'ast TaggedTpl)
ThisExpr(&'ast ThisExpr)
ThrowStmt(&'ast ThrowStmt)
Tpl(&'ast Tpl)
TplElement(&'ast TplElement)
TruePlusMinus(&'ast TruePlusMinus)
TryStmt(&'ast TryStmt)
TsArrayType(&'ast TsArrayType)
TsAsExpr(&'ast TsAsExpr)
TsCallSignatureDecl(&'ast TsCallSignatureDecl)
TsConditionalType(&'ast TsConditionalType)
TsConstAssertion(&'ast TsConstAssertion)
TsConstructSignatureDecl(&'ast TsConstructSignatureDecl)
TsConstructorType(&'ast TsConstructorType)
TsEntityName(&'ast TsEntityName)
TsEnumDecl(&'ast TsEnumDecl)
TsEnumMember(&'ast TsEnumMember)
TsEnumMemberId(&'ast TsEnumMemberId)
TsExportAssignment(&'ast TsExportAssignment)
TsExprWithTypeArgs(&'ast TsExprWithTypeArgs)
TsExternalModuleRef(&'ast TsExternalModuleRef)
TsFnOrConstructorType(&'ast TsFnOrConstructorType)
TsFnParam(&'ast TsFnParam)
TsFnType(&'ast TsFnType)
TsGetterSignature(&'ast TsGetterSignature)
TsImportCallOptions(&'ast TsImportCallOptions)
TsImportEqualsDecl(&'ast TsImportEqualsDecl)
TsImportType(&'ast TsImportType)
TsIndexSignature(&'ast TsIndexSignature)
TsIndexedAccessType(&'ast TsIndexedAccessType)
TsInferType(&'ast TsInferType)
TsInstantiation(&'ast TsInstantiation)
TsInterfaceBody(&'ast TsInterfaceBody)
TsInterfaceDecl(&'ast TsInterfaceDecl)
TsIntersectionType(&'ast TsIntersectionType)
TsKeywordType(&'ast TsKeywordType)
TsKeywordTypeKind(&'ast TsKeywordTypeKind)
TsLit(&'ast TsLit)
TsLitType(&'ast TsLitType)
TsMappedType(&'ast TsMappedType)
TsMethodSignature(&'ast TsMethodSignature)
TsModuleBlock(&'ast TsModuleBlock)
TsModuleDecl(&'ast TsModuleDecl)
TsModuleName(&'ast TsModuleName)
TsModuleRef(&'ast TsModuleRef)
TsNamespaceBody(&'ast TsNamespaceBody)
TsNamespaceDecl(&'ast TsNamespaceDecl)
TsNamespaceExportDecl(&'ast TsNamespaceExportDecl)
TsNonNullExpr(&'ast TsNonNullExpr)
TsOptionalType(&'ast TsOptionalType)
TsParamProp(&'ast TsParamProp)
TsParamPropParam(&'ast TsParamPropParam)
TsParenthesizedType(&'ast TsParenthesizedType)
TsPropertySignature(&'ast TsPropertySignature)
TsQualifiedName(&'ast TsQualifiedName)
TsRestType(&'ast TsRestType)
TsSatisfiesExpr(&'ast TsSatisfiesExpr)
TsSetterSignature(&'ast TsSetterSignature)
TsThisType(&'ast TsThisType)
TsThisTypeOrIdent(&'ast TsThisTypeOrIdent)
TsTplLitType(&'ast TsTplLitType)
TsTupleElement(&'ast TsTupleElement)
TsTupleType(&'ast TsTupleType)
TsType(&'ast TsType)
TsTypeAliasDecl(&'ast TsTypeAliasDecl)
TsTypeAnn(&'ast TsTypeAnn)
TsTypeAssertion(&'ast TsTypeAssertion)
TsTypeElement(&'ast TsTypeElement)
TsTypeLit(&'ast TsTypeLit)
TsTypeOperator(&'ast TsTypeOperator)
TsTypeOperatorOp(&'ast TsTypeOperatorOp)
TsTypeParam(&'ast TsTypeParam)
TsTypeParamDecl(&'ast TsTypeParamDecl)
TsTypeParamInstantiation(&'ast TsTypeParamInstantiation)
TsTypePredicate(&'ast TsTypePredicate)
TsTypeQuery(&'ast TsTypeQuery)
TsTypeQueryExpr(&'ast TsTypeQueryExpr)
TsTypeRef(&'ast TsTypeRef)
TsUnionOrIntersectionType(&'ast TsUnionOrIntersectionType)
TsUnionType(&'ast TsUnionType)
UnaryExpr(&'ast UnaryExpr)
UnaryOp(&'ast UnaryOp)
UpdateExpr(&'ast UpdateExpr)
UpdateOp(&'ast UpdateOp)
UsingDecl(&'ast UsingDecl)
VarDecl(&'ast VarDecl)
VarDeclKind(&'ast VarDeclKind)
VarDeclOrExpr(&'ast VarDeclOrExpr)
VarDeclarator(&'ast VarDeclarator)
WhileStmt(&'ast WhileStmt)
WithStmt(&'ast WithStmt)
YieldExpr(&'ast YieldExpr)
Implementations§
Trait Implementations§
Source§impl<'ast> From<&'ast Accessibility> for NodeRef<'ast>
impl<'ast> From<&'ast Accessibility> for NodeRef<'ast>
Source§fn from(node: &'ast Accessibility) -> Self
fn from(node: &'ast Accessibility) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AssignExpr> for NodeRef<'ast>
impl<'ast> From<&'ast AssignExpr> for NodeRef<'ast>
Source§fn from(node: &'ast AssignExpr) -> Self
fn from(node: &'ast AssignExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AssignPatProp> for NodeRef<'ast>
impl<'ast> From<&'ast AssignPatProp> for NodeRef<'ast>
Source§fn from(node: &'ast AssignPatProp) -> Self
fn from(node: &'ast AssignPatProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AssignProp> for NodeRef<'ast>
impl<'ast> From<&'ast AssignProp> for NodeRef<'ast>
Source§fn from(node: &'ast AssignProp) -> Self
fn from(node: &'ast AssignProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AssignTarget> for NodeRef<'ast>
impl<'ast> From<&'ast AssignTarget> for NodeRef<'ast>
Source§fn from(node: &'ast AssignTarget) -> Self
fn from(node: &'ast AssignTarget) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AssignTargetPat> for NodeRef<'ast>
impl<'ast> From<&'ast AssignTargetPat> for NodeRef<'ast>
Source§fn from(node: &'ast AssignTargetPat) -> Self
fn from(node: &'ast AssignTargetPat) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast AutoAccessor> for NodeRef<'ast>
impl<'ast> From<&'ast AutoAccessor> for NodeRef<'ast>
Source§fn from(node: &'ast AutoAccessor) -> Self
fn from(node: &'ast AutoAccessor) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast BindingIdent> for NodeRef<'ast>
impl<'ast> From<&'ast BindingIdent> for NodeRef<'ast>
Source§fn from(node: &'ast BindingIdent) -> Self
fn from(node: &'ast BindingIdent) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast BlockStmtOrExpr> for NodeRef<'ast>
impl<'ast> From<&'ast BlockStmtOrExpr> for NodeRef<'ast>
Source§fn from(node: &'ast BlockStmtOrExpr) -> Self
fn from(node: &'ast BlockStmtOrExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast CatchClause> for NodeRef<'ast>
impl<'ast> From<&'ast CatchClause> for NodeRef<'ast>
Source§fn from(node: &'ast CatchClause) -> Self
fn from(node: &'ast CatchClause) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ClassMember> for NodeRef<'ast>
impl<'ast> From<&'ast ClassMember> for NodeRef<'ast>
Source§fn from(node: &'ast ClassMember) -> Self
fn from(node: &'ast ClassMember) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ClassMethod> for NodeRef<'ast>
impl<'ast> From<&'ast ClassMethod> for NodeRef<'ast>
Source§fn from(node: &'ast ClassMethod) -> Self
fn from(node: &'ast ClassMethod) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ComputedPropName> for NodeRef<'ast>
impl<'ast> From<&'ast ComputedPropName> for NodeRef<'ast>
Source§fn from(node: &'ast ComputedPropName) -> Self
fn from(node: &'ast ComputedPropName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast Constructor> for NodeRef<'ast>
impl<'ast> From<&'ast Constructor> for NodeRef<'ast>
Source§fn from(node: &'ast Constructor) -> Self
fn from(node: &'ast Constructor) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ContinueStmt> for NodeRef<'ast>
impl<'ast> From<&'ast ContinueStmt> for NodeRef<'ast>
Source§fn from(node: &'ast ContinueStmt) -> Self
fn from(node: &'ast ContinueStmt) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DebuggerStmt> for NodeRef<'ast>
impl<'ast> From<&'ast DebuggerStmt> for NodeRef<'ast>
Source§fn from(node: &'ast DebuggerStmt) -> Self
fn from(node: &'ast DebuggerStmt) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DefaultDecl> for NodeRef<'ast>
impl<'ast> From<&'ast DefaultDecl> for NodeRef<'ast>
Source§fn from(node: &'ast DefaultDecl) -> Self
fn from(node: &'ast DefaultDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast DoWhileStmt> for NodeRef<'ast>
impl<'ast> From<&'ast DoWhileStmt> for NodeRef<'ast>
Source§fn from(node: &'ast DoWhileStmt) -> Self
fn from(node: &'ast DoWhileStmt) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ExportDecl> for NodeRef<'ast>
impl<'ast> From<&'ast ExportDecl> for NodeRef<'ast>
Source§fn from(node: &'ast ExportDecl) -> Self
fn from(node: &'ast ExportDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ExportDefaultDecl> for NodeRef<'ast>
impl<'ast> From<&'ast ExportDefaultDecl> for NodeRef<'ast>
Source§fn from(node: &'ast ExportDefaultDecl) -> Self
fn from(node: &'ast ExportDefaultDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ExportDefaultExpr> for NodeRef<'ast>
impl<'ast> From<&'ast ExportDefaultExpr> for NodeRef<'ast>
Source§fn from(node: &'ast ExportDefaultExpr) -> Self
fn from(node: &'ast ExportDefaultExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ExportDefaultSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ExportDefaultSpecifier> for NodeRef<'ast>
Source§fn from(node: &'ast ExportDefaultSpecifier) -> Self
fn from(node: &'ast ExportDefaultSpecifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ExportNamedSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ExportNamedSpecifier> for NodeRef<'ast>
Source§fn from(node: &'ast ExportNamedSpecifier) -> Self
fn from(node: &'ast ExportNamedSpecifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ExportNamespaceSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ExportNamespaceSpecifier> for NodeRef<'ast>
Source§fn from(node: &'ast ExportNamespaceSpecifier) -> Self
fn from(node: &'ast ExportNamespaceSpecifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ExportSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ExportSpecifier> for NodeRef<'ast>
Source§fn from(node: &'ast ExportSpecifier) -> Self
fn from(node: &'ast ExportSpecifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ExprOrSpread> for NodeRef<'ast>
impl<'ast> From<&'ast ExprOrSpread> for NodeRef<'ast>
Source§fn from(node: &'ast ExprOrSpread) -> Self
fn from(node: &'ast ExprOrSpread) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast GetterProp> for NodeRef<'ast>
impl<'ast> From<&'ast GetterProp> for NodeRef<'ast>
Source§fn from(node: &'ast GetterProp) -> Self
fn from(node: &'ast GetterProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportDecl> for NodeRef<'ast>
impl<'ast> From<&'ast ImportDecl> for NodeRef<'ast>
Source§fn from(node: &'ast ImportDecl) -> Self
fn from(node: &'ast ImportDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportDefaultSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ImportDefaultSpecifier> for NodeRef<'ast>
Source§fn from(node: &'ast ImportDefaultSpecifier) -> Self
fn from(node: &'ast ImportDefaultSpecifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportNamedSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ImportNamedSpecifier> for NodeRef<'ast>
Source§fn from(node: &'ast ImportNamedSpecifier) -> Self
fn from(node: &'ast ImportNamedSpecifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportPhase> for NodeRef<'ast>
impl<'ast> From<&'ast ImportPhase> for NodeRef<'ast>
Source§fn from(node: &'ast ImportPhase) -> Self
fn from(node: &'ast ImportPhase) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ImportSpecifier> for NodeRef<'ast>
Source§fn from(node: &'ast ImportSpecifier) -> Self
fn from(node: &'ast ImportSpecifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportStarAsSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ImportStarAsSpecifier> for NodeRef<'ast>
Source§fn from(node: &'ast ImportStarAsSpecifier) -> Self
fn from(node: &'ast ImportStarAsSpecifier) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportWith> for NodeRef<'ast>
impl<'ast> From<&'ast ImportWith> for NodeRef<'ast>
Source§fn from(node: &'ast ImportWith) -> Self
fn from(node: &'ast ImportWith) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ImportWithItem> for NodeRef<'ast>
impl<'ast> From<&'ast ImportWithItem> for NodeRef<'ast>
Source§fn from(node: &'ast ImportWithItem) -> Self
fn from(node: &'ast ImportWithItem) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXAttrName> for NodeRef<'ast>
impl<'ast> From<&'ast JSXAttrName> for NodeRef<'ast>
Source§fn from(node: &'ast JSXAttrName) -> Self
fn from(node: &'ast JSXAttrName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXAttrOrSpread> for NodeRef<'ast>
impl<'ast> From<&'ast JSXAttrOrSpread> for NodeRef<'ast>
Source§fn from(node: &'ast JSXAttrOrSpread) -> Self
fn from(node: &'ast JSXAttrOrSpread) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXAttrValue> for NodeRef<'ast>
impl<'ast> From<&'ast JSXAttrValue> for NodeRef<'ast>
Source§fn from(node: &'ast JSXAttrValue) -> Self
fn from(node: &'ast JSXAttrValue) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXClosingElement> for NodeRef<'ast>
impl<'ast> From<&'ast JSXClosingElement> for NodeRef<'ast>
Source§fn from(node: &'ast JSXClosingElement) -> Self
fn from(node: &'ast JSXClosingElement) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXClosingFragment> for NodeRef<'ast>
impl<'ast> From<&'ast JSXClosingFragment> for NodeRef<'ast>
Source§fn from(node: &'ast JSXClosingFragment) -> Self
fn from(node: &'ast JSXClosingFragment) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXElement> for NodeRef<'ast>
impl<'ast> From<&'ast JSXElement> for NodeRef<'ast>
Source§fn from(node: &'ast JSXElement) -> Self
fn from(node: &'ast JSXElement) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXElementChild> for NodeRef<'ast>
impl<'ast> From<&'ast JSXElementChild> for NodeRef<'ast>
Source§fn from(node: &'ast JSXElementChild) -> Self
fn from(node: &'ast JSXElementChild) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXElementName> for NodeRef<'ast>
impl<'ast> From<&'ast JSXElementName> for NodeRef<'ast>
Source§fn from(node: &'ast JSXElementName) -> Self
fn from(node: &'ast JSXElementName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXEmptyExpr> for NodeRef<'ast>
impl<'ast> From<&'ast JSXEmptyExpr> for NodeRef<'ast>
Source§fn from(node: &'ast JSXEmptyExpr) -> Self
fn from(node: &'ast JSXEmptyExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXExprContainer> for NodeRef<'ast>
impl<'ast> From<&'ast JSXExprContainer> for NodeRef<'ast>
Source§fn from(node: &'ast JSXExprContainer) -> Self
fn from(node: &'ast JSXExprContainer) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXFragment> for NodeRef<'ast>
impl<'ast> From<&'ast JSXFragment> for NodeRef<'ast>
Source§fn from(node: &'ast JSXFragment) -> Self
fn from(node: &'ast JSXFragment) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXMemberExpr> for NodeRef<'ast>
impl<'ast> From<&'ast JSXMemberExpr> for NodeRef<'ast>
Source§fn from(node: &'ast JSXMemberExpr) -> Self
fn from(node: &'ast JSXMemberExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXNamespacedName> for NodeRef<'ast>
impl<'ast> From<&'ast JSXNamespacedName> for NodeRef<'ast>
Source§fn from(node: &'ast JSXNamespacedName) -> Self
fn from(node: &'ast JSXNamespacedName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXOpeningElement> for NodeRef<'ast>
impl<'ast> From<&'ast JSXOpeningElement> for NodeRef<'ast>
Source§fn from(node: &'ast JSXOpeningElement) -> Self
fn from(node: &'ast JSXOpeningElement) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXOpeningFragment> for NodeRef<'ast>
impl<'ast> From<&'ast JSXOpeningFragment> for NodeRef<'ast>
Source§fn from(node: &'ast JSXOpeningFragment) -> Self
fn from(node: &'ast JSXOpeningFragment) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast JSXSpreadChild> for NodeRef<'ast>
impl<'ast> From<&'ast JSXSpreadChild> for NodeRef<'ast>
Source§fn from(node: &'ast JSXSpreadChild) -> Self
fn from(node: &'ast JSXSpreadChild) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast KeyValuePatProp> for NodeRef<'ast>
impl<'ast> From<&'ast KeyValuePatProp> for NodeRef<'ast>
Source§fn from(node: &'ast KeyValuePatProp) -> Self
fn from(node: &'ast KeyValuePatProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast KeyValueProp> for NodeRef<'ast>
impl<'ast> From<&'ast KeyValueProp> for NodeRef<'ast>
Source§fn from(node: &'ast KeyValueProp) -> Self
fn from(node: &'ast KeyValueProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast LabeledStmt> for NodeRef<'ast>
impl<'ast> From<&'ast LabeledStmt> for NodeRef<'ast>
Source§fn from(node: &'ast LabeledStmt) -> Self
fn from(node: &'ast LabeledStmt) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MemberExpr> for NodeRef<'ast>
impl<'ast> From<&'ast MemberExpr> for NodeRef<'ast>
Source§fn from(node: &'ast MemberExpr) -> Self
fn from(node: &'ast MemberExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MemberProp> for NodeRef<'ast>
impl<'ast> From<&'ast MemberProp> for NodeRef<'ast>
Source§fn from(node: &'ast MemberProp) -> Self
fn from(node: &'ast MemberProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MetaPropExpr> for NodeRef<'ast>
impl<'ast> From<&'ast MetaPropExpr> for NodeRef<'ast>
Source§fn from(node: &'ast MetaPropExpr) -> Self
fn from(node: &'ast MetaPropExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MetaPropKind> for NodeRef<'ast>
impl<'ast> From<&'ast MetaPropKind> for NodeRef<'ast>
Source§fn from(node: &'ast MetaPropKind) -> Self
fn from(node: &'ast MetaPropKind) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MethodKind> for NodeRef<'ast>
impl<'ast> From<&'ast MethodKind> for NodeRef<'ast>
Source§fn from(node: &'ast MethodKind) -> Self
fn from(node: &'ast MethodKind) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast MethodProp> for NodeRef<'ast>
impl<'ast> From<&'ast MethodProp> for NodeRef<'ast>
Source§fn from(node: &'ast MethodProp) -> Self
fn from(node: &'ast MethodProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ModuleDecl> for NodeRef<'ast>
impl<'ast> From<&'ast ModuleDecl> for NodeRef<'ast>
Source§fn from(node: &'ast ModuleDecl) -> Self
fn from(node: &'ast ModuleDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ModuleExportName> for NodeRef<'ast>
impl<'ast> From<&'ast ModuleExportName> for NodeRef<'ast>
Source§fn from(node: &'ast ModuleExportName) -> Self
fn from(node: &'ast ModuleExportName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ModuleItem> for NodeRef<'ast>
impl<'ast> From<&'ast ModuleItem> for NodeRef<'ast>
Source§fn from(node: &'ast ModuleItem) -> Self
fn from(node: &'ast ModuleItem) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast NamedExport> for NodeRef<'ast>
impl<'ast> From<&'ast NamedExport> for NodeRef<'ast>
Source§fn from(node: &'ast NamedExport) -> Self
fn from(node: &'ast NamedExport) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ObjectPatProp> for NodeRef<'ast>
impl<'ast> From<&'ast ObjectPatProp> for NodeRef<'ast>
Source§fn from(node: &'ast ObjectPatProp) -> Self
fn from(node: &'ast ObjectPatProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast OptChainBase> for NodeRef<'ast>
impl<'ast> From<&'ast OptChainBase> for NodeRef<'ast>
Source§fn from(node: &'ast OptChainBase) -> Self
fn from(node: &'ast OptChainBase) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast OptChainExpr> for NodeRef<'ast>
impl<'ast> From<&'ast OptChainExpr> for NodeRef<'ast>
Source§fn from(node: &'ast OptChainExpr) -> Self
fn from(node: &'ast OptChainExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ParamOrTsParamProp> for NodeRef<'ast>
impl<'ast> From<&'ast ParamOrTsParamProp> for NodeRef<'ast>
Source§fn from(node: &'ast ParamOrTsParamProp) -> Self
fn from(node: &'ast ParamOrTsParamProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PrivateMethod> for NodeRef<'ast>
impl<'ast> From<&'ast PrivateMethod> for NodeRef<'ast>
Source§fn from(node: &'ast PrivateMethod) -> Self
fn from(node: &'ast PrivateMethod) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PrivateName> for NodeRef<'ast>
impl<'ast> From<&'ast PrivateName> for NodeRef<'ast>
Source§fn from(node: &'ast PrivateName) -> Self
fn from(node: &'ast PrivateName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PrivateProp> for NodeRef<'ast>
impl<'ast> From<&'ast PrivateProp> for NodeRef<'ast>
Source§fn from(node: &'ast PrivateProp) -> Self
fn from(node: &'ast PrivateProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast PropOrSpread> for NodeRef<'ast>
impl<'ast> From<&'ast PropOrSpread> for NodeRef<'ast>
Source§fn from(node: &'ast PropOrSpread) -> Self
fn from(node: &'ast PropOrSpread) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast ReturnStmt> for NodeRef<'ast>
impl<'ast> From<&'ast ReturnStmt> for NodeRef<'ast>
Source§fn from(node: &'ast ReturnStmt) -> Self
fn from(node: &'ast ReturnStmt) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SetterProp> for NodeRef<'ast>
impl<'ast> From<&'ast SetterProp> for NodeRef<'ast>
Source§fn from(node: &'ast SetterProp) -> Self
fn from(node: &'ast SetterProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SimpleAssignTarget> for NodeRef<'ast>
impl<'ast> From<&'ast SimpleAssignTarget> for NodeRef<'ast>
Source§fn from(node: &'ast SimpleAssignTarget) -> Self
fn from(node: &'ast SimpleAssignTarget) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SpreadElement> for NodeRef<'ast>
impl<'ast> From<&'ast SpreadElement> for NodeRef<'ast>
Source§fn from(node: &'ast SpreadElement) -> Self
fn from(node: &'ast SpreadElement) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast StaticBlock> for NodeRef<'ast>
impl<'ast> From<&'ast StaticBlock> for NodeRef<'ast>
Source§fn from(node: &'ast StaticBlock) -> Self
fn from(node: &'ast StaticBlock) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SuperPropExpr> for NodeRef<'ast>
impl<'ast> From<&'ast SuperPropExpr> for NodeRef<'ast>
Source§fn from(node: &'ast SuperPropExpr) -> Self
fn from(node: &'ast SuperPropExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SwitchCase> for NodeRef<'ast>
impl<'ast> From<&'ast SwitchCase> for NodeRef<'ast>
Source§fn from(node: &'ast SwitchCase) -> Self
fn from(node: &'ast SwitchCase) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast SwitchStmt> for NodeRef<'ast>
impl<'ast> From<&'ast SwitchStmt> for NodeRef<'ast>
Source§fn from(node: &'ast SwitchStmt) -> Self
fn from(node: &'ast SwitchStmt) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TplElement> for NodeRef<'ast>
impl<'ast> From<&'ast TplElement> for NodeRef<'ast>
Source§fn from(node: &'ast TplElement) -> Self
fn from(node: &'ast TplElement) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TruePlusMinus> for NodeRef<'ast>
impl<'ast> From<&'ast TruePlusMinus> for NodeRef<'ast>
Source§fn from(node: &'ast TruePlusMinus) -> Self
fn from(node: &'ast TruePlusMinus) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsArrayType> for NodeRef<'ast>
impl<'ast> From<&'ast TsArrayType> for NodeRef<'ast>
Source§fn from(node: &'ast TsArrayType) -> Self
fn from(node: &'ast TsArrayType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsCallSignatureDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsCallSignatureDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsCallSignatureDecl) -> Self
fn from(node: &'ast TsCallSignatureDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsConditionalType> for NodeRef<'ast>
impl<'ast> From<&'ast TsConditionalType> for NodeRef<'ast>
Source§fn from(node: &'ast TsConditionalType) -> Self
fn from(node: &'ast TsConditionalType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsConstAssertion> for NodeRef<'ast>
impl<'ast> From<&'ast TsConstAssertion> for NodeRef<'ast>
Source§fn from(node: &'ast TsConstAssertion) -> Self
fn from(node: &'ast TsConstAssertion) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsConstructSignatureDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsConstructSignatureDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsConstructSignatureDecl) -> Self
fn from(node: &'ast TsConstructSignatureDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsConstructorType> for NodeRef<'ast>
impl<'ast> From<&'ast TsConstructorType> for NodeRef<'ast>
Source§fn from(node: &'ast TsConstructorType) -> Self
fn from(node: &'ast TsConstructorType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsEntityName> for NodeRef<'ast>
impl<'ast> From<&'ast TsEntityName> for NodeRef<'ast>
Source§fn from(node: &'ast TsEntityName) -> Self
fn from(node: &'ast TsEntityName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsEnumDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsEnumDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsEnumDecl) -> Self
fn from(node: &'ast TsEnumDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsEnumMember> for NodeRef<'ast>
impl<'ast> From<&'ast TsEnumMember> for NodeRef<'ast>
Source§fn from(node: &'ast TsEnumMember) -> Self
fn from(node: &'ast TsEnumMember) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsEnumMemberId> for NodeRef<'ast>
impl<'ast> From<&'ast TsEnumMemberId> for NodeRef<'ast>
Source§fn from(node: &'ast TsEnumMemberId) -> Self
fn from(node: &'ast TsEnumMemberId) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsExportAssignment> for NodeRef<'ast>
impl<'ast> From<&'ast TsExportAssignment> for NodeRef<'ast>
Source§fn from(node: &'ast TsExportAssignment) -> Self
fn from(node: &'ast TsExportAssignment) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsExprWithTypeArgs> for NodeRef<'ast>
impl<'ast> From<&'ast TsExprWithTypeArgs> for NodeRef<'ast>
Source§fn from(node: &'ast TsExprWithTypeArgs) -> Self
fn from(node: &'ast TsExprWithTypeArgs) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsExternalModuleRef> for NodeRef<'ast>
impl<'ast> From<&'ast TsExternalModuleRef> for NodeRef<'ast>
Source§fn from(node: &'ast TsExternalModuleRef) -> Self
fn from(node: &'ast TsExternalModuleRef) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsFnOrConstructorType> for NodeRef<'ast>
impl<'ast> From<&'ast TsFnOrConstructorType> for NodeRef<'ast>
Source§fn from(node: &'ast TsFnOrConstructorType) -> Self
fn from(node: &'ast TsFnOrConstructorType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsGetterSignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsGetterSignature> for NodeRef<'ast>
Source§fn from(node: &'ast TsGetterSignature) -> Self
fn from(node: &'ast TsGetterSignature) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsImportCallOptions> for NodeRef<'ast>
impl<'ast> From<&'ast TsImportCallOptions> for NodeRef<'ast>
Source§fn from(node: &'ast TsImportCallOptions) -> Self
fn from(node: &'ast TsImportCallOptions) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsImportEqualsDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsImportEqualsDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsImportEqualsDecl) -> Self
fn from(node: &'ast TsImportEqualsDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsImportType> for NodeRef<'ast>
impl<'ast> From<&'ast TsImportType> for NodeRef<'ast>
Source§fn from(node: &'ast TsImportType) -> Self
fn from(node: &'ast TsImportType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsIndexSignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsIndexSignature> for NodeRef<'ast>
Source§fn from(node: &'ast TsIndexSignature) -> Self
fn from(node: &'ast TsIndexSignature) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsIndexedAccessType> for NodeRef<'ast>
impl<'ast> From<&'ast TsIndexedAccessType> for NodeRef<'ast>
Source§fn from(node: &'ast TsIndexedAccessType) -> Self
fn from(node: &'ast TsIndexedAccessType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsInferType> for NodeRef<'ast>
impl<'ast> From<&'ast TsInferType> for NodeRef<'ast>
Source§fn from(node: &'ast TsInferType) -> Self
fn from(node: &'ast TsInferType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsInstantiation> for NodeRef<'ast>
impl<'ast> From<&'ast TsInstantiation> for NodeRef<'ast>
Source§fn from(node: &'ast TsInstantiation) -> Self
fn from(node: &'ast TsInstantiation) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsInterfaceBody> for NodeRef<'ast>
impl<'ast> From<&'ast TsInterfaceBody> for NodeRef<'ast>
Source§fn from(node: &'ast TsInterfaceBody) -> Self
fn from(node: &'ast TsInterfaceBody) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsInterfaceDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsInterfaceDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsInterfaceDecl) -> Self
fn from(node: &'ast TsInterfaceDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsIntersectionType> for NodeRef<'ast>
impl<'ast> From<&'ast TsIntersectionType> for NodeRef<'ast>
Source§fn from(node: &'ast TsIntersectionType) -> Self
fn from(node: &'ast TsIntersectionType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsKeywordType> for NodeRef<'ast>
impl<'ast> From<&'ast TsKeywordType> for NodeRef<'ast>
Source§fn from(node: &'ast TsKeywordType) -> Self
fn from(node: &'ast TsKeywordType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsKeywordTypeKind> for NodeRef<'ast>
impl<'ast> From<&'ast TsKeywordTypeKind> for NodeRef<'ast>
Source§fn from(node: &'ast TsKeywordTypeKind) -> Self
fn from(node: &'ast TsKeywordTypeKind) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsMappedType> for NodeRef<'ast>
impl<'ast> From<&'ast TsMappedType> for NodeRef<'ast>
Source§fn from(node: &'ast TsMappedType) -> Self
fn from(node: &'ast TsMappedType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsMethodSignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsMethodSignature> for NodeRef<'ast>
Source§fn from(node: &'ast TsMethodSignature) -> Self
fn from(node: &'ast TsMethodSignature) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsModuleBlock> for NodeRef<'ast>
impl<'ast> From<&'ast TsModuleBlock> for NodeRef<'ast>
Source§fn from(node: &'ast TsModuleBlock) -> Self
fn from(node: &'ast TsModuleBlock) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsModuleDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsModuleDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsModuleDecl) -> Self
fn from(node: &'ast TsModuleDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsModuleName> for NodeRef<'ast>
impl<'ast> From<&'ast TsModuleName> for NodeRef<'ast>
Source§fn from(node: &'ast TsModuleName) -> Self
fn from(node: &'ast TsModuleName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsModuleRef> for NodeRef<'ast>
impl<'ast> From<&'ast TsModuleRef> for NodeRef<'ast>
Source§fn from(node: &'ast TsModuleRef) -> Self
fn from(node: &'ast TsModuleRef) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsNamespaceBody> for NodeRef<'ast>
impl<'ast> From<&'ast TsNamespaceBody> for NodeRef<'ast>
Source§fn from(node: &'ast TsNamespaceBody) -> Self
fn from(node: &'ast TsNamespaceBody) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsNamespaceDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsNamespaceDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsNamespaceDecl) -> Self
fn from(node: &'ast TsNamespaceDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsNamespaceExportDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsNamespaceExportDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsNamespaceExportDecl) -> Self
fn from(node: &'ast TsNamespaceExportDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsNonNullExpr> for NodeRef<'ast>
impl<'ast> From<&'ast TsNonNullExpr> for NodeRef<'ast>
Source§fn from(node: &'ast TsNonNullExpr) -> Self
fn from(node: &'ast TsNonNullExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsOptionalType> for NodeRef<'ast>
impl<'ast> From<&'ast TsOptionalType> for NodeRef<'ast>
Source§fn from(node: &'ast TsOptionalType) -> Self
fn from(node: &'ast TsOptionalType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsParamProp> for NodeRef<'ast>
impl<'ast> From<&'ast TsParamProp> for NodeRef<'ast>
Source§fn from(node: &'ast TsParamProp) -> Self
fn from(node: &'ast TsParamProp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsParamPropParam> for NodeRef<'ast>
impl<'ast> From<&'ast TsParamPropParam> for NodeRef<'ast>
Source§fn from(node: &'ast TsParamPropParam) -> Self
fn from(node: &'ast TsParamPropParam) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsParenthesizedType> for NodeRef<'ast>
impl<'ast> From<&'ast TsParenthesizedType> for NodeRef<'ast>
Source§fn from(node: &'ast TsParenthesizedType) -> Self
fn from(node: &'ast TsParenthesizedType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsPropertySignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsPropertySignature> for NodeRef<'ast>
Source§fn from(node: &'ast TsPropertySignature) -> Self
fn from(node: &'ast TsPropertySignature) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsQualifiedName> for NodeRef<'ast>
impl<'ast> From<&'ast TsQualifiedName> for NodeRef<'ast>
Source§fn from(node: &'ast TsQualifiedName) -> Self
fn from(node: &'ast TsQualifiedName) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsRestType> for NodeRef<'ast>
impl<'ast> From<&'ast TsRestType> for NodeRef<'ast>
Source§fn from(node: &'ast TsRestType) -> Self
fn from(node: &'ast TsRestType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsSatisfiesExpr> for NodeRef<'ast>
impl<'ast> From<&'ast TsSatisfiesExpr> for NodeRef<'ast>
Source§fn from(node: &'ast TsSatisfiesExpr) -> Self
fn from(node: &'ast TsSatisfiesExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsSetterSignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsSetterSignature> for NodeRef<'ast>
Source§fn from(node: &'ast TsSetterSignature) -> Self
fn from(node: &'ast TsSetterSignature) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsThisType> for NodeRef<'ast>
impl<'ast> From<&'ast TsThisType> for NodeRef<'ast>
Source§fn from(node: &'ast TsThisType) -> Self
fn from(node: &'ast TsThisType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsThisTypeOrIdent> for NodeRef<'ast>
impl<'ast> From<&'ast TsThisTypeOrIdent> for NodeRef<'ast>
Source§fn from(node: &'ast TsThisTypeOrIdent) -> Self
fn from(node: &'ast TsThisTypeOrIdent) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTplLitType> for NodeRef<'ast>
impl<'ast> From<&'ast TsTplLitType> for NodeRef<'ast>
Source§fn from(node: &'ast TsTplLitType) -> Self
fn from(node: &'ast TsTplLitType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTupleElement> for NodeRef<'ast>
impl<'ast> From<&'ast TsTupleElement> for NodeRef<'ast>
Source§fn from(node: &'ast TsTupleElement) -> Self
fn from(node: &'ast TsTupleElement) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTupleType> for NodeRef<'ast>
impl<'ast> From<&'ast TsTupleType> for NodeRef<'ast>
Source§fn from(node: &'ast TsTupleType) -> Self
fn from(node: &'ast TsTupleType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeAliasDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeAliasDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeAliasDecl) -> Self
fn from(node: &'ast TsTypeAliasDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeAssertion> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeAssertion> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeAssertion) -> Self
fn from(node: &'ast TsTypeAssertion) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeElement> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeElement> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeElement) -> Self
fn from(node: &'ast TsTypeElement) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeOperator> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeOperator> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeOperator) -> Self
fn from(node: &'ast TsTypeOperator) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeOperatorOp> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeOperatorOp> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeOperatorOp) -> Self
fn from(node: &'ast TsTypeOperatorOp) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeParam> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeParam> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeParam) -> Self
fn from(node: &'ast TsTypeParam) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeParamDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeParamDecl> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeParamDecl) -> Self
fn from(node: &'ast TsTypeParamDecl) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeParamInstantiation> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeParamInstantiation> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeParamInstantiation) -> Self
fn from(node: &'ast TsTypeParamInstantiation) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypePredicate> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypePredicate> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypePredicate) -> Self
fn from(node: &'ast TsTypePredicate) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeQuery> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeQuery> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeQuery) -> Self
fn from(node: &'ast TsTypeQuery) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsTypeQueryExpr> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeQueryExpr> for NodeRef<'ast>
Source§fn from(node: &'ast TsTypeQueryExpr) -> Self
fn from(node: &'ast TsTypeQueryExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsUnionOrIntersectionType> for NodeRef<'ast>
impl<'ast> From<&'ast TsUnionOrIntersectionType> for NodeRef<'ast>
Source§fn from(node: &'ast TsUnionOrIntersectionType) -> Self
fn from(node: &'ast TsUnionOrIntersectionType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast TsUnionType> for NodeRef<'ast>
impl<'ast> From<&'ast TsUnionType> for NodeRef<'ast>
Source§fn from(node: &'ast TsUnionType) -> Self
fn from(node: &'ast TsUnionType) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast UpdateExpr> for NodeRef<'ast>
impl<'ast> From<&'ast UpdateExpr> for NodeRef<'ast>
Source§fn from(node: &'ast UpdateExpr) -> Self
fn from(node: &'ast UpdateExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast VarDeclKind> for NodeRef<'ast>
impl<'ast> From<&'ast VarDeclKind> for NodeRef<'ast>
Source§fn from(node: &'ast VarDeclKind) -> Self
fn from(node: &'ast VarDeclKind) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast VarDeclOrExpr> for NodeRef<'ast>
impl<'ast> From<&'ast VarDeclOrExpr> for NodeRef<'ast>
Source§fn from(node: &'ast VarDeclOrExpr) -> Self
fn from(node: &'ast VarDeclOrExpr) -> Self
Converts to this type from the input type.
Source§impl<'ast> From<&'ast VarDeclarator> for NodeRef<'ast>
impl<'ast> From<&'ast VarDeclarator> for NodeRef<'ast>
Source§fn from(node: &'ast VarDeclarator) -> Self
fn from(node: &'ast VarDeclarator) -> 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> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.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 moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
impl<T> Send for Twhere
T: ?Sized,
impl<T> Sync for Twhere
T: ?Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
Accessibility: 8 bytesArrayLit: 8 bytesArrayPat: 8 bytesArrowExpr: 8 bytesAssignExpr: 8 bytesAssignOp: 8 bytesAssignPat: 8 bytesAssignPatProp: 8 bytesAssignProp: 8 bytesAssignTarget: 8 bytesAssignTargetPat: 8 bytesAutoAccessor: 8 bytesAwaitExpr: 8 bytesBigInt: 8 bytesBinExpr: 8 bytesBinaryOp: 8 bytesBindingIdent: 8 bytesBlockStmt: 8 bytesBlockStmtOrExpr: 8 bytesBool: 8 bytesBreakStmt: 8 bytesCallExpr: 8 bytesCallee: 8 bytesCatchClause: 8 bytesClass: 8 bytesClassDecl: 8 bytesClassExpr: 8 bytesClassMember: 8 bytesClassMethod: 8 bytesClassProp: 8 bytesComputedPropName: 8 bytesCondExpr: 8 bytesConstructor: 8 bytesContinueStmt: 8 bytesDebuggerStmt: 8 bytesDecl: 8 bytesDecorator: 8 bytesDefaultDecl: 8 bytesDoWhileStmt: 8 bytesEmptyStmt: 8 bytesExportAll: 8 bytesExportDecl: 8 bytesExportDefaultDecl: 8 bytesExportDefaultExpr: 8 bytesExportDefaultSpecifier: 8 bytesExportNamedSpecifier: 8 bytesExportNamespaceSpecifier: 8 bytesExportSpecifier: 8 bytesExpr: 8 bytesExprOrSpread: 8 bytesExprStmt: 8 bytesFnDecl: 8 bytesFnExpr: 8 bytesForHead: 8 bytesForInStmt: 8 bytesForOfStmt: 8 bytesForStmt: 8 bytesFunction: 8 bytesGetterProp: 8 bytesIdent: 8 bytesIdentName: 8 bytesIfStmt: 8 bytesImport: 8 bytesImportDecl: 8 bytesImportDefaultSpecifier: 8 bytesImportNamedSpecifier: 8 bytesImportPhase: 8 bytesImportSpecifier: 8 bytesImportStarAsSpecifier: 8 bytesImportWith: 8 bytesImportWithItem: 8 bytesInvalid: 8 bytesJSXAttr: 8 bytesJSXAttrName: 8 bytesJSXAttrOrSpread: 8 bytesJSXAttrValue: 8 bytesJSXClosingElement: 8 bytesJSXClosingFragment: 8 bytesJSXElement: 8 bytesJSXElementChild: 8 bytesJSXElementName: 8 bytesJSXEmptyExpr: 8 bytesJSXExpr: 8 bytesJSXExprContainer: 8 bytesJSXFragment: 8 bytesJSXMemberExpr: 8 bytesJSXNamespacedName: 8 bytesJSXObject: 8 bytesJSXOpeningElement: 8 bytesJSXOpeningFragment: 8 bytesJSXSpreadChild: 8 bytesJSXText: 8 bytesKey: 8 bytesKeyValuePatProp: 8 bytesKeyValueProp: 8 bytesLabeledStmt: 8 bytesLit: 8 bytesMemberExpr: 8 bytesMemberProp: 8 bytesMetaPropExpr: 8 bytesMetaPropKind: 8 bytesMethodKind: 8 bytesMethodProp: 8 bytesModule: 8 bytesModuleDecl: 8 bytesModuleExportName: 8 bytesModuleItem: 8 bytesNamedExport: 8 bytesNewExpr: 8 bytesNull: 8 bytesNumber: 8 bytesObjectLit: 8 bytesObjectPat: 8 bytesObjectPatProp: 8 bytesOptCall: 8 bytesOptChainBase: 8 bytesOptChainExpr: 8 bytesParam: 8 bytesParamOrTsParamProp: 8 bytesParenExpr: 8 bytesPat: 8 bytesPrivateMethod: 8 bytesPrivateName: 8 bytesPrivateProp: 8 bytesProgram: 8 bytesProp: 8 bytesPropName: 8 bytesPropOrSpread: 8 bytesRegex: 8 bytesRestPat: 8 bytesReturnStmt: 8 bytesScript: 8 bytesSeqExpr: 8 bytesSetterProp: 8 bytesSimpleAssignTarget: 8 bytesSpreadElement: 8 bytesStaticBlock: 8 bytesStmt: 8 bytesStr: 8 bytesSuper: 8 bytesSuperProp: 8 bytesSuperPropExpr: 8 bytesSwitchCase: 8 bytesSwitchStmt: 8 bytesTaggedTpl: 8 bytesThisExpr: 8 bytesThrowStmt: 8 bytesTpl: 8 bytesTplElement: 8 bytesTruePlusMinus: 8 bytesTryStmt: 8 bytesTsArrayType: 8 bytesTsAsExpr: 8 bytesTsCallSignatureDecl: 8 bytesTsConditionalType: 8 bytesTsConstAssertion: 8 bytesTsConstructSignatureDecl: 8 bytesTsConstructorType: 8 bytesTsEntityName: 8 bytesTsEnumDecl: 8 bytesTsEnumMember: 8 bytesTsEnumMemberId: 8 bytesTsExportAssignment: 8 bytesTsExprWithTypeArgs: 8 bytesTsExternalModuleRef: 8 bytesTsFnOrConstructorType: 8 bytesTsFnParam: 8 bytesTsFnType: 8 bytesTsGetterSignature: 8 bytesTsImportCallOptions: 8 bytesTsImportEqualsDecl: 8 bytesTsImportType: 8 bytesTsIndexSignature: 8 bytesTsIndexedAccessType: 8 bytesTsInferType: 8 bytesTsInstantiation: 8 bytesTsInterfaceBody: 8 bytesTsInterfaceDecl: 8 bytesTsIntersectionType: 8 bytesTsKeywordType: 8 bytesTsKeywordTypeKind: 8 bytesTsLit: 8 bytesTsLitType: 8 bytesTsMappedType: 8 bytesTsMethodSignature: 8 bytesTsModuleBlock: 8 bytesTsModuleDecl: 8 bytesTsModuleName: 8 bytesTsModuleRef: 8 bytesTsNamespaceBody: 8 bytesTsNamespaceDecl: 8 bytesTsNamespaceExportDecl: 8 bytesTsNonNullExpr: 8 bytesTsOptionalType: 8 bytesTsParamProp: 8 bytesTsParamPropParam: 8 bytesTsParenthesizedType: 8 bytesTsPropertySignature: 8 bytesTsQualifiedName: 8 bytesTsRestType: 8 bytesTsSatisfiesExpr: 8 bytesTsSetterSignature: 8 bytesTsThisType: 8 bytesTsThisTypeOrIdent: 8 bytesTsTplLitType: 8 bytesTsTupleElement: 8 bytesTsTupleType: 8 bytesTsType: 8 bytesTsTypeAliasDecl: 8 bytesTsTypeAnn: 8 bytesTsTypeAssertion: 8 bytesTsTypeElement: 8 bytesTsTypeLit: 8 bytesTsTypeOperator: 8 bytesTsTypeOperatorOp: 8 bytesTsTypeParam: 8 bytesTsTypeParamDecl: 8 bytesTsTypeParamInstantiation: 8 bytesTsTypePredicate: 8 bytesTsTypeQuery: 8 bytesTsTypeQueryExpr: 8 bytesTsTypeRef: 8 bytesTsUnionOrIntersectionType: 8 bytesTsUnionType: 8 bytesUnaryExpr: 8 bytesUnaryOp: 8 bytesUpdateExpr: 8 bytesUpdateOp: 8 bytesUsingDecl: 8 bytesVarDecl: 8 bytesVarDeclKind: 8 bytesVarDeclOrExpr: 8 bytesVarDeclarator: 8 bytesWhileStmt: 8 bytesWithStmt: 8 bytesYieldExpr: 8 bytes