Enum NodeRef
pub enum NodeRef<'ast> {
Show 235 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),
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),
}
Available on crate features
__ecma
and __visit
only.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)
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§
§impl<'ast> From<&'ast Accessibility> for NodeRef<'ast>
impl<'ast> From<&'ast Accessibility> for NodeRef<'ast>
§fn from(node: &'ast Accessibility) -> NodeRef<'ast>
fn from(node: &'ast Accessibility) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast AssignExpr> for NodeRef<'ast>
impl<'ast> From<&'ast AssignExpr> for NodeRef<'ast>
§fn from(node: &'ast AssignExpr) -> NodeRef<'ast>
fn from(node: &'ast AssignExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast AssignPatProp> for NodeRef<'ast>
impl<'ast> From<&'ast AssignPatProp> for NodeRef<'ast>
§fn from(node: &'ast AssignPatProp) -> NodeRef<'ast>
fn from(node: &'ast AssignPatProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast AssignProp> for NodeRef<'ast>
impl<'ast> From<&'ast AssignProp> for NodeRef<'ast>
§fn from(node: &'ast AssignProp) -> NodeRef<'ast>
fn from(node: &'ast AssignProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast AssignTarget> for NodeRef<'ast>
impl<'ast> From<&'ast AssignTarget> for NodeRef<'ast>
§fn from(node: &'ast AssignTarget) -> NodeRef<'ast>
fn from(node: &'ast AssignTarget) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast AssignTargetPat> for NodeRef<'ast>
impl<'ast> From<&'ast AssignTargetPat> for NodeRef<'ast>
§fn from(node: &'ast AssignTargetPat) -> NodeRef<'ast>
fn from(node: &'ast AssignTargetPat) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast AutoAccessor> for NodeRef<'ast>
impl<'ast> From<&'ast AutoAccessor> for NodeRef<'ast>
§fn from(node: &'ast AutoAccessor) -> NodeRef<'ast>
fn from(node: &'ast AutoAccessor) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast BindingIdent> for NodeRef<'ast>
impl<'ast> From<&'ast BindingIdent> for NodeRef<'ast>
§fn from(node: &'ast BindingIdent) -> NodeRef<'ast>
fn from(node: &'ast BindingIdent) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast BlockStmtOrExpr> for NodeRef<'ast>
impl<'ast> From<&'ast BlockStmtOrExpr> for NodeRef<'ast>
§fn from(node: &'ast BlockStmtOrExpr) -> NodeRef<'ast>
fn from(node: &'ast BlockStmtOrExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast CatchClause> for NodeRef<'ast>
impl<'ast> From<&'ast CatchClause> for NodeRef<'ast>
§fn from(node: &'ast CatchClause) -> NodeRef<'ast>
fn from(node: &'ast CatchClause) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ClassMember> for NodeRef<'ast>
impl<'ast> From<&'ast ClassMember> for NodeRef<'ast>
§fn from(node: &'ast ClassMember) -> NodeRef<'ast>
fn from(node: &'ast ClassMember) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ClassMethod> for NodeRef<'ast>
impl<'ast> From<&'ast ClassMethod> for NodeRef<'ast>
§fn from(node: &'ast ClassMethod) -> NodeRef<'ast>
fn from(node: &'ast ClassMethod) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ComputedPropName> for NodeRef<'ast>
impl<'ast> From<&'ast ComputedPropName> for NodeRef<'ast>
§fn from(node: &'ast ComputedPropName) -> NodeRef<'ast>
fn from(node: &'ast ComputedPropName) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast Constructor> for NodeRef<'ast>
impl<'ast> From<&'ast Constructor> for NodeRef<'ast>
§fn from(node: &'ast Constructor) -> NodeRef<'ast>
fn from(node: &'ast Constructor) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ContinueStmt> for NodeRef<'ast>
impl<'ast> From<&'ast ContinueStmt> for NodeRef<'ast>
§fn from(node: &'ast ContinueStmt) -> NodeRef<'ast>
fn from(node: &'ast ContinueStmt) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast DebuggerStmt> for NodeRef<'ast>
impl<'ast> From<&'ast DebuggerStmt> for NodeRef<'ast>
§fn from(node: &'ast DebuggerStmt) -> NodeRef<'ast>
fn from(node: &'ast DebuggerStmt) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast DefaultDecl> for NodeRef<'ast>
impl<'ast> From<&'ast DefaultDecl> for NodeRef<'ast>
§fn from(node: &'ast DefaultDecl) -> NodeRef<'ast>
fn from(node: &'ast DefaultDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast DoWhileStmt> for NodeRef<'ast>
impl<'ast> From<&'ast DoWhileStmt> for NodeRef<'ast>
§fn from(node: &'ast DoWhileStmt) -> NodeRef<'ast>
fn from(node: &'ast DoWhileStmt) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ExportDecl> for NodeRef<'ast>
impl<'ast> From<&'ast ExportDecl> for NodeRef<'ast>
§fn from(node: &'ast ExportDecl) -> NodeRef<'ast>
fn from(node: &'ast ExportDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ExportDefaultDecl> for NodeRef<'ast>
impl<'ast> From<&'ast ExportDefaultDecl> for NodeRef<'ast>
§fn from(node: &'ast ExportDefaultDecl) -> NodeRef<'ast>
fn from(node: &'ast ExportDefaultDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ExportDefaultExpr> for NodeRef<'ast>
impl<'ast> From<&'ast ExportDefaultExpr> for NodeRef<'ast>
§fn from(node: &'ast ExportDefaultExpr) -> NodeRef<'ast>
fn from(node: &'ast ExportDefaultExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ExportDefaultSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ExportDefaultSpecifier> for NodeRef<'ast>
§fn from(node: &'ast ExportDefaultSpecifier) -> NodeRef<'ast>
fn from(node: &'ast ExportDefaultSpecifier) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ExportNamedSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ExportNamedSpecifier> for NodeRef<'ast>
§fn from(node: &'ast ExportNamedSpecifier) -> NodeRef<'ast>
fn from(node: &'ast ExportNamedSpecifier) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ExportNamespaceSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ExportNamespaceSpecifier> for NodeRef<'ast>
§fn from(node: &'ast ExportNamespaceSpecifier) -> NodeRef<'ast>
fn from(node: &'ast ExportNamespaceSpecifier) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ExportSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ExportSpecifier> for NodeRef<'ast>
§fn from(node: &'ast ExportSpecifier) -> NodeRef<'ast>
fn from(node: &'ast ExportSpecifier) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ExprOrSpread> for NodeRef<'ast>
impl<'ast> From<&'ast ExprOrSpread> for NodeRef<'ast>
§fn from(node: &'ast ExprOrSpread) -> NodeRef<'ast>
fn from(node: &'ast ExprOrSpread) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast GetterProp> for NodeRef<'ast>
impl<'ast> From<&'ast GetterProp> for NodeRef<'ast>
§fn from(node: &'ast GetterProp) -> NodeRef<'ast>
fn from(node: &'ast GetterProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ImportDecl> for NodeRef<'ast>
impl<'ast> From<&'ast ImportDecl> for NodeRef<'ast>
§fn from(node: &'ast ImportDecl) -> NodeRef<'ast>
fn from(node: &'ast ImportDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ImportDefaultSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ImportDefaultSpecifier> for NodeRef<'ast>
§fn from(node: &'ast ImportDefaultSpecifier) -> NodeRef<'ast>
fn from(node: &'ast ImportDefaultSpecifier) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ImportNamedSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ImportNamedSpecifier> for NodeRef<'ast>
§fn from(node: &'ast ImportNamedSpecifier) -> NodeRef<'ast>
fn from(node: &'ast ImportNamedSpecifier) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ImportPhase> for NodeRef<'ast>
impl<'ast> From<&'ast ImportPhase> for NodeRef<'ast>
§fn from(node: &'ast ImportPhase) -> NodeRef<'ast>
fn from(node: &'ast ImportPhase) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ImportSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ImportSpecifier> for NodeRef<'ast>
§fn from(node: &'ast ImportSpecifier) -> NodeRef<'ast>
fn from(node: &'ast ImportSpecifier) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ImportStarAsSpecifier> for NodeRef<'ast>
impl<'ast> From<&'ast ImportStarAsSpecifier> for NodeRef<'ast>
§fn from(node: &'ast ImportStarAsSpecifier) -> NodeRef<'ast>
fn from(node: &'ast ImportStarAsSpecifier) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ImportWith> for NodeRef<'ast>
impl<'ast> From<&'ast ImportWith> for NodeRef<'ast>
§fn from(node: &'ast ImportWith) -> NodeRef<'ast>
fn from(node: &'ast ImportWith) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ImportWithItem> for NodeRef<'ast>
impl<'ast> From<&'ast ImportWithItem> for NodeRef<'ast>
§fn from(node: &'ast ImportWithItem) -> NodeRef<'ast>
fn from(node: &'ast ImportWithItem) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXAttrName> for NodeRef<'ast>
impl<'ast> From<&'ast JSXAttrName> for NodeRef<'ast>
§fn from(node: &'ast JSXAttrName) -> NodeRef<'ast>
fn from(node: &'ast JSXAttrName) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXAttrOrSpread> for NodeRef<'ast>
impl<'ast> From<&'ast JSXAttrOrSpread> for NodeRef<'ast>
§fn from(node: &'ast JSXAttrOrSpread) -> NodeRef<'ast>
fn from(node: &'ast JSXAttrOrSpread) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXAttrValue> for NodeRef<'ast>
impl<'ast> From<&'ast JSXAttrValue> for NodeRef<'ast>
§fn from(node: &'ast JSXAttrValue) -> NodeRef<'ast>
fn from(node: &'ast JSXAttrValue) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXClosingElement> for NodeRef<'ast>
impl<'ast> From<&'ast JSXClosingElement> for NodeRef<'ast>
§fn from(node: &'ast JSXClosingElement) -> NodeRef<'ast>
fn from(node: &'ast JSXClosingElement) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXClosingFragment> for NodeRef<'ast>
impl<'ast> From<&'ast JSXClosingFragment> for NodeRef<'ast>
§fn from(node: &'ast JSXClosingFragment) -> NodeRef<'ast>
fn from(node: &'ast JSXClosingFragment) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXElement> for NodeRef<'ast>
impl<'ast> From<&'ast JSXElement> for NodeRef<'ast>
§fn from(node: &'ast JSXElement) -> NodeRef<'ast>
fn from(node: &'ast JSXElement) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXElementChild> for NodeRef<'ast>
impl<'ast> From<&'ast JSXElementChild> for NodeRef<'ast>
§fn from(node: &'ast JSXElementChild) -> NodeRef<'ast>
fn from(node: &'ast JSXElementChild) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXElementName> for NodeRef<'ast>
impl<'ast> From<&'ast JSXElementName> for NodeRef<'ast>
§fn from(node: &'ast JSXElementName) -> NodeRef<'ast>
fn from(node: &'ast JSXElementName) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXEmptyExpr> for NodeRef<'ast>
impl<'ast> From<&'ast JSXEmptyExpr> for NodeRef<'ast>
§fn from(node: &'ast JSXEmptyExpr) -> NodeRef<'ast>
fn from(node: &'ast JSXEmptyExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXExprContainer> for NodeRef<'ast>
impl<'ast> From<&'ast JSXExprContainer> for NodeRef<'ast>
§fn from(node: &'ast JSXExprContainer) -> NodeRef<'ast>
fn from(node: &'ast JSXExprContainer) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXFragment> for NodeRef<'ast>
impl<'ast> From<&'ast JSXFragment> for NodeRef<'ast>
§fn from(node: &'ast JSXFragment) -> NodeRef<'ast>
fn from(node: &'ast JSXFragment) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXMemberExpr> for NodeRef<'ast>
impl<'ast> From<&'ast JSXMemberExpr> for NodeRef<'ast>
§fn from(node: &'ast JSXMemberExpr) -> NodeRef<'ast>
fn from(node: &'ast JSXMemberExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXNamespacedName> for NodeRef<'ast>
impl<'ast> From<&'ast JSXNamespacedName> for NodeRef<'ast>
§fn from(node: &'ast JSXNamespacedName) -> NodeRef<'ast>
fn from(node: &'ast JSXNamespacedName) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXOpeningElement> for NodeRef<'ast>
impl<'ast> From<&'ast JSXOpeningElement> for NodeRef<'ast>
§fn from(node: &'ast JSXOpeningElement) -> NodeRef<'ast>
fn from(node: &'ast JSXOpeningElement) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXOpeningFragment> for NodeRef<'ast>
impl<'ast> From<&'ast JSXOpeningFragment> for NodeRef<'ast>
§fn from(node: &'ast JSXOpeningFragment) -> NodeRef<'ast>
fn from(node: &'ast JSXOpeningFragment) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast JSXSpreadChild> for NodeRef<'ast>
impl<'ast> From<&'ast JSXSpreadChild> for NodeRef<'ast>
§fn from(node: &'ast JSXSpreadChild) -> NodeRef<'ast>
fn from(node: &'ast JSXSpreadChild) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast KeyValuePatProp> for NodeRef<'ast>
impl<'ast> From<&'ast KeyValuePatProp> for NodeRef<'ast>
§fn from(node: &'ast KeyValuePatProp) -> NodeRef<'ast>
fn from(node: &'ast KeyValuePatProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast KeyValueProp> for NodeRef<'ast>
impl<'ast> From<&'ast KeyValueProp> for NodeRef<'ast>
§fn from(node: &'ast KeyValueProp) -> NodeRef<'ast>
fn from(node: &'ast KeyValueProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast LabeledStmt> for NodeRef<'ast>
impl<'ast> From<&'ast LabeledStmt> for NodeRef<'ast>
§fn from(node: &'ast LabeledStmt) -> NodeRef<'ast>
fn from(node: &'ast LabeledStmt) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast MemberExpr> for NodeRef<'ast>
impl<'ast> From<&'ast MemberExpr> for NodeRef<'ast>
§fn from(node: &'ast MemberExpr) -> NodeRef<'ast>
fn from(node: &'ast MemberExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast MemberProp> for NodeRef<'ast>
impl<'ast> From<&'ast MemberProp> for NodeRef<'ast>
§fn from(node: &'ast MemberProp) -> NodeRef<'ast>
fn from(node: &'ast MemberProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast MetaPropExpr> for NodeRef<'ast>
impl<'ast> From<&'ast MetaPropExpr> for NodeRef<'ast>
§fn from(node: &'ast MetaPropExpr) -> NodeRef<'ast>
fn from(node: &'ast MetaPropExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast MetaPropKind> for NodeRef<'ast>
impl<'ast> From<&'ast MetaPropKind> for NodeRef<'ast>
§fn from(node: &'ast MetaPropKind) -> NodeRef<'ast>
fn from(node: &'ast MetaPropKind) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast MethodKind> for NodeRef<'ast>
impl<'ast> From<&'ast MethodKind> for NodeRef<'ast>
§fn from(node: &'ast MethodKind) -> NodeRef<'ast>
fn from(node: &'ast MethodKind) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast MethodProp> for NodeRef<'ast>
impl<'ast> From<&'ast MethodProp> for NodeRef<'ast>
§fn from(node: &'ast MethodProp) -> NodeRef<'ast>
fn from(node: &'ast MethodProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ModuleDecl> for NodeRef<'ast>
impl<'ast> From<&'ast ModuleDecl> for NodeRef<'ast>
§fn from(node: &'ast ModuleDecl) -> NodeRef<'ast>
fn from(node: &'ast ModuleDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ModuleExportName> for NodeRef<'ast>
impl<'ast> From<&'ast ModuleExportName> for NodeRef<'ast>
§fn from(node: &'ast ModuleExportName) -> NodeRef<'ast>
fn from(node: &'ast ModuleExportName) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ModuleItem> for NodeRef<'ast>
impl<'ast> From<&'ast ModuleItem> for NodeRef<'ast>
§fn from(node: &'ast ModuleItem) -> NodeRef<'ast>
fn from(node: &'ast ModuleItem) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast NamedExport> for NodeRef<'ast>
impl<'ast> From<&'ast NamedExport> for NodeRef<'ast>
§fn from(node: &'ast NamedExport) -> NodeRef<'ast>
fn from(node: &'ast NamedExport) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ObjectPatProp> for NodeRef<'ast>
impl<'ast> From<&'ast ObjectPatProp> for NodeRef<'ast>
§fn from(node: &'ast ObjectPatProp) -> NodeRef<'ast>
fn from(node: &'ast ObjectPatProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast OptChainBase> for NodeRef<'ast>
impl<'ast> From<&'ast OptChainBase> for NodeRef<'ast>
§fn from(node: &'ast OptChainBase) -> NodeRef<'ast>
fn from(node: &'ast OptChainBase) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast OptChainExpr> for NodeRef<'ast>
impl<'ast> From<&'ast OptChainExpr> for NodeRef<'ast>
§fn from(node: &'ast OptChainExpr) -> NodeRef<'ast>
fn from(node: &'ast OptChainExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ParamOrTsParamProp> for NodeRef<'ast>
impl<'ast> From<&'ast ParamOrTsParamProp> for NodeRef<'ast>
§fn from(node: &'ast ParamOrTsParamProp) -> NodeRef<'ast>
fn from(node: &'ast ParamOrTsParamProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast PrivateMethod> for NodeRef<'ast>
impl<'ast> From<&'ast PrivateMethod> for NodeRef<'ast>
§fn from(node: &'ast PrivateMethod) -> NodeRef<'ast>
fn from(node: &'ast PrivateMethod) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast PrivateName> for NodeRef<'ast>
impl<'ast> From<&'ast PrivateName> for NodeRef<'ast>
§fn from(node: &'ast PrivateName) -> NodeRef<'ast>
fn from(node: &'ast PrivateName) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast PrivateProp> for NodeRef<'ast>
impl<'ast> From<&'ast PrivateProp> for NodeRef<'ast>
§fn from(node: &'ast PrivateProp) -> NodeRef<'ast>
fn from(node: &'ast PrivateProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast PropOrSpread> for NodeRef<'ast>
impl<'ast> From<&'ast PropOrSpread> for NodeRef<'ast>
§fn from(node: &'ast PropOrSpread) -> NodeRef<'ast>
fn from(node: &'ast PropOrSpread) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast ReturnStmt> for NodeRef<'ast>
impl<'ast> From<&'ast ReturnStmt> for NodeRef<'ast>
§fn from(node: &'ast ReturnStmt) -> NodeRef<'ast>
fn from(node: &'ast ReturnStmt) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast SetterProp> for NodeRef<'ast>
impl<'ast> From<&'ast SetterProp> for NodeRef<'ast>
§fn from(node: &'ast SetterProp) -> NodeRef<'ast>
fn from(node: &'ast SetterProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast SimpleAssignTarget> for NodeRef<'ast>
impl<'ast> From<&'ast SimpleAssignTarget> for NodeRef<'ast>
§fn from(node: &'ast SimpleAssignTarget) -> NodeRef<'ast>
fn from(node: &'ast SimpleAssignTarget) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast SpreadElement> for NodeRef<'ast>
impl<'ast> From<&'ast SpreadElement> for NodeRef<'ast>
§fn from(node: &'ast SpreadElement) -> NodeRef<'ast>
fn from(node: &'ast SpreadElement) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast StaticBlock> for NodeRef<'ast>
impl<'ast> From<&'ast StaticBlock> for NodeRef<'ast>
§fn from(node: &'ast StaticBlock) -> NodeRef<'ast>
fn from(node: &'ast StaticBlock) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast SuperPropExpr> for NodeRef<'ast>
impl<'ast> From<&'ast SuperPropExpr> for NodeRef<'ast>
§fn from(node: &'ast SuperPropExpr) -> NodeRef<'ast>
fn from(node: &'ast SuperPropExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast SwitchCase> for NodeRef<'ast>
impl<'ast> From<&'ast SwitchCase> for NodeRef<'ast>
§fn from(node: &'ast SwitchCase) -> NodeRef<'ast>
fn from(node: &'ast SwitchCase) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast SwitchStmt> for NodeRef<'ast>
impl<'ast> From<&'ast SwitchStmt> for NodeRef<'ast>
§fn from(node: &'ast SwitchStmt) -> NodeRef<'ast>
fn from(node: &'ast SwitchStmt) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TplElement> for NodeRef<'ast>
impl<'ast> From<&'ast TplElement> for NodeRef<'ast>
§fn from(node: &'ast TplElement) -> NodeRef<'ast>
fn from(node: &'ast TplElement) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TruePlusMinus> for NodeRef<'ast>
impl<'ast> From<&'ast TruePlusMinus> for NodeRef<'ast>
§fn from(node: &'ast TruePlusMinus) -> NodeRef<'ast>
fn from(node: &'ast TruePlusMinus) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsArrayType> for NodeRef<'ast>
impl<'ast> From<&'ast TsArrayType> for NodeRef<'ast>
§fn from(node: &'ast TsArrayType) -> NodeRef<'ast>
fn from(node: &'ast TsArrayType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsCallSignatureDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsCallSignatureDecl> for NodeRef<'ast>
§fn from(node: &'ast TsCallSignatureDecl) -> NodeRef<'ast>
fn from(node: &'ast TsCallSignatureDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsConditionalType> for NodeRef<'ast>
impl<'ast> From<&'ast TsConditionalType> for NodeRef<'ast>
§fn from(node: &'ast TsConditionalType) -> NodeRef<'ast>
fn from(node: &'ast TsConditionalType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsConstAssertion> for NodeRef<'ast>
impl<'ast> From<&'ast TsConstAssertion> for NodeRef<'ast>
§fn from(node: &'ast TsConstAssertion) -> NodeRef<'ast>
fn from(node: &'ast TsConstAssertion) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsConstructSignatureDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsConstructSignatureDecl> for NodeRef<'ast>
§fn from(node: &'ast TsConstructSignatureDecl) -> NodeRef<'ast>
fn from(node: &'ast TsConstructSignatureDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsConstructorType> for NodeRef<'ast>
impl<'ast> From<&'ast TsConstructorType> for NodeRef<'ast>
§fn from(node: &'ast TsConstructorType) -> NodeRef<'ast>
fn from(node: &'ast TsConstructorType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsEntityName> for NodeRef<'ast>
impl<'ast> From<&'ast TsEntityName> for NodeRef<'ast>
§fn from(node: &'ast TsEntityName) -> NodeRef<'ast>
fn from(node: &'ast TsEntityName) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsEnumDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsEnumDecl> for NodeRef<'ast>
§fn from(node: &'ast TsEnumDecl) -> NodeRef<'ast>
fn from(node: &'ast TsEnumDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsEnumMember> for NodeRef<'ast>
impl<'ast> From<&'ast TsEnumMember> for NodeRef<'ast>
§fn from(node: &'ast TsEnumMember) -> NodeRef<'ast>
fn from(node: &'ast TsEnumMember) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsEnumMemberId> for NodeRef<'ast>
impl<'ast> From<&'ast TsEnumMemberId> for NodeRef<'ast>
§fn from(node: &'ast TsEnumMemberId) -> NodeRef<'ast>
fn from(node: &'ast TsEnumMemberId) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsExportAssignment> for NodeRef<'ast>
impl<'ast> From<&'ast TsExportAssignment> for NodeRef<'ast>
§fn from(node: &'ast TsExportAssignment) -> NodeRef<'ast>
fn from(node: &'ast TsExportAssignment) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsExprWithTypeArgs> for NodeRef<'ast>
impl<'ast> From<&'ast TsExprWithTypeArgs> for NodeRef<'ast>
§fn from(node: &'ast TsExprWithTypeArgs) -> NodeRef<'ast>
fn from(node: &'ast TsExprWithTypeArgs) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsExternalModuleRef> for NodeRef<'ast>
impl<'ast> From<&'ast TsExternalModuleRef> for NodeRef<'ast>
§fn from(node: &'ast TsExternalModuleRef) -> NodeRef<'ast>
fn from(node: &'ast TsExternalModuleRef) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsFnOrConstructorType> for NodeRef<'ast>
impl<'ast> From<&'ast TsFnOrConstructorType> for NodeRef<'ast>
§fn from(node: &'ast TsFnOrConstructorType) -> NodeRef<'ast>
fn from(node: &'ast TsFnOrConstructorType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsGetterSignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsGetterSignature> for NodeRef<'ast>
§fn from(node: &'ast TsGetterSignature) -> NodeRef<'ast>
fn from(node: &'ast TsGetterSignature) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsImportEqualsDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsImportEqualsDecl> for NodeRef<'ast>
§fn from(node: &'ast TsImportEqualsDecl) -> NodeRef<'ast>
fn from(node: &'ast TsImportEqualsDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsImportType> for NodeRef<'ast>
impl<'ast> From<&'ast TsImportType> for NodeRef<'ast>
§fn from(node: &'ast TsImportType) -> NodeRef<'ast>
fn from(node: &'ast TsImportType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsIndexSignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsIndexSignature> for NodeRef<'ast>
§fn from(node: &'ast TsIndexSignature) -> NodeRef<'ast>
fn from(node: &'ast TsIndexSignature) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsIndexedAccessType> for NodeRef<'ast>
impl<'ast> From<&'ast TsIndexedAccessType> for NodeRef<'ast>
§fn from(node: &'ast TsIndexedAccessType) -> NodeRef<'ast>
fn from(node: &'ast TsIndexedAccessType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsInferType> for NodeRef<'ast>
impl<'ast> From<&'ast TsInferType> for NodeRef<'ast>
§fn from(node: &'ast TsInferType) -> NodeRef<'ast>
fn from(node: &'ast TsInferType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsInstantiation> for NodeRef<'ast>
impl<'ast> From<&'ast TsInstantiation> for NodeRef<'ast>
§fn from(node: &'ast TsInstantiation) -> NodeRef<'ast>
fn from(node: &'ast TsInstantiation) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsInterfaceBody> for NodeRef<'ast>
impl<'ast> From<&'ast TsInterfaceBody> for NodeRef<'ast>
§fn from(node: &'ast TsInterfaceBody) -> NodeRef<'ast>
fn from(node: &'ast TsInterfaceBody) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsInterfaceDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsInterfaceDecl> for NodeRef<'ast>
§fn from(node: &'ast TsInterfaceDecl) -> NodeRef<'ast>
fn from(node: &'ast TsInterfaceDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsIntersectionType> for NodeRef<'ast>
impl<'ast> From<&'ast TsIntersectionType> for NodeRef<'ast>
§fn from(node: &'ast TsIntersectionType) -> NodeRef<'ast>
fn from(node: &'ast TsIntersectionType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsKeywordType> for NodeRef<'ast>
impl<'ast> From<&'ast TsKeywordType> for NodeRef<'ast>
§fn from(node: &'ast TsKeywordType) -> NodeRef<'ast>
fn from(node: &'ast TsKeywordType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsKeywordTypeKind> for NodeRef<'ast>
impl<'ast> From<&'ast TsKeywordTypeKind> for NodeRef<'ast>
§fn from(node: &'ast TsKeywordTypeKind) -> NodeRef<'ast>
fn from(node: &'ast TsKeywordTypeKind) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsMappedType> for NodeRef<'ast>
impl<'ast> From<&'ast TsMappedType> for NodeRef<'ast>
§fn from(node: &'ast TsMappedType) -> NodeRef<'ast>
fn from(node: &'ast TsMappedType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsMethodSignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsMethodSignature> for NodeRef<'ast>
§fn from(node: &'ast TsMethodSignature) -> NodeRef<'ast>
fn from(node: &'ast TsMethodSignature) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsModuleBlock> for NodeRef<'ast>
impl<'ast> From<&'ast TsModuleBlock> for NodeRef<'ast>
§fn from(node: &'ast TsModuleBlock) -> NodeRef<'ast>
fn from(node: &'ast TsModuleBlock) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsModuleDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsModuleDecl> for NodeRef<'ast>
§fn from(node: &'ast TsModuleDecl) -> NodeRef<'ast>
fn from(node: &'ast TsModuleDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsModuleName> for NodeRef<'ast>
impl<'ast> From<&'ast TsModuleName> for NodeRef<'ast>
§fn from(node: &'ast TsModuleName) -> NodeRef<'ast>
fn from(node: &'ast TsModuleName) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsModuleRef> for NodeRef<'ast>
impl<'ast> From<&'ast TsModuleRef> for NodeRef<'ast>
§fn from(node: &'ast TsModuleRef) -> NodeRef<'ast>
fn from(node: &'ast TsModuleRef) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsNamespaceBody> for NodeRef<'ast>
impl<'ast> From<&'ast TsNamespaceBody> for NodeRef<'ast>
§fn from(node: &'ast TsNamespaceBody) -> NodeRef<'ast>
fn from(node: &'ast TsNamespaceBody) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsNamespaceDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsNamespaceDecl> for NodeRef<'ast>
§fn from(node: &'ast TsNamespaceDecl) -> NodeRef<'ast>
fn from(node: &'ast TsNamespaceDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsNamespaceExportDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsNamespaceExportDecl> for NodeRef<'ast>
§fn from(node: &'ast TsNamespaceExportDecl) -> NodeRef<'ast>
fn from(node: &'ast TsNamespaceExportDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsNonNullExpr> for NodeRef<'ast>
impl<'ast> From<&'ast TsNonNullExpr> for NodeRef<'ast>
§fn from(node: &'ast TsNonNullExpr) -> NodeRef<'ast>
fn from(node: &'ast TsNonNullExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsOptionalType> for NodeRef<'ast>
impl<'ast> From<&'ast TsOptionalType> for NodeRef<'ast>
§fn from(node: &'ast TsOptionalType) -> NodeRef<'ast>
fn from(node: &'ast TsOptionalType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsParamProp> for NodeRef<'ast>
impl<'ast> From<&'ast TsParamProp> for NodeRef<'ast>
§fn from(node: &'ast TsParamProp) -> NodeRef<'ast>
fn from(node: &'ast TsParamProp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsParamPropParam> for NodeRef<'ast>
impl<'ast> From<&'ast TsParamPropParam> for NodeRef<'ast>
§fn from(node: &'ast TsParamPropParam) -> NodeRef<'ast>
fn from(node: &'ast TsParamPropParam) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsParenthesizedType> for NodeRef<'ast>
impl<'ast> From<&'ast TsParenthesizedType> for NodeRef<'ast>
§fn from(node: &'ast TsParenthesizedType) -> NodeRef<'ast>
fn from(node: &'ast TsParenthesizedType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsPropertySignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsPropertySignature> for NodeRef<'ast>
§fn from(node: &'ast TsPropertySignature) -> NodeRef<'ast>
fn from(node: &'ast TsPropertySignature) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsQualifiedName> for NodeRef<'ast>
impl<'ast> From<&'ast TsQualifiedName> for NodeRef<'ast>
§fn from(node: &'ast TsQualifiedName) -> NodeRef<'ast>
fn from(node: &'ast TsQualifiedName) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsRestType> for NodeRef<'ast>
impl<'ast> From<&'ast TsRestType> for NodeRef<'ast>
§fn from(node: &'ast TsRestType) -> NodeRef<'ast>
fn from(node: &'ast TsRestType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsSatisfiesExpr> for NodeRef<'ast>
impl<'ast> From<&'ast TsSatisfiesExpr> for NodeRef<'ast>
§fn from(node: &'ast TsSatisfiesExpr) -> NodeRef<'ast>
fn from(node: &'ast TsSatisfiesExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsSetterSignature> for NodeRef<'ast>
impl<'ast> From<&'ast TsSetterSignature> for NodeRef<'ast>
§fn from(node: &'ast TsSetterSignature) -> NodeRef<'ast>
fn from(node: &'ast TsSetterSignature) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsThisType> for NodeRef<'ast>
impl<'ast> From<&'ast TsThisType> for NodeRef<'ast>
§fn from(node: &'ast TsThisType) -> NodeRef<'ast>
fn from(node: &'ast TsThisType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsThisTypeOrIdent> for NodeRef<'ast>
impl<'ast> From<&'ast TsThisTypeOrIdent> for NodeRef<'ast>
§fn from(node: &'ast TsThisTypeOrIdent) -> NodeRef<'ast>
fn from(node: &'ast TsThisTypeOrIdent) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTplLitType> for NodeRef<'ast>
impl<'ast> From<&'ast TsTplLitType> for NodeRef<'ast>
§fn from(node: &'ast TsTplLitType) -> NodeRef<'ast>
fn from(node: &'ast TsTplLitType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTupleElement> for NodeRef<'ast>
impl<'ast> From<&'ast TsTupleElement> for NodeRef<'ast>
§fn from(node: &'ast TsTupleElement) -> NodeRef<'ast>
fn from(node: &'ast TsTupleElement) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTupleType> for NodeRef<'ast>
impl<'ast> From<&'ast TsTupleType> for NodeRef<'ast>
§fn from(node: &'ast TsTupleType) -> NodeRef<'ast>
fn from(node: &'ast TsTupleType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeAliasDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeAliasDecl> for NodeRef<'ast>
§fn from(node: &'ast TsTypeAliasDecl) -> NodeRef<'ast>
fn from(node: &'ast TsTypeAliasDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeAssertion> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeAssertion> for NodeRef<'ast>
§fn from(node: &'ast TsTypeAssertion) -> NodeRef<'ast>
fn from(node: &'ast TsTypeAssertion) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeElement> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeElement> for NodeRef<'ast>
§fn from(node: &'ast TsTypeElement) -> NodeRef<'ast>
fn from(node: &'ast TsTypeElement) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeOperator> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeOperator> for NodeRef<'ast>
§fn from(node: &'ast TsTypeOperator) -> NodeRef<'ast>
fn from(node: &'ast TsTypeOperator) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeOperatorOp> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeOperatorOp> for NodeRef<'ast>
§fn from(node: &'ast TsTypeOperatorOp) -> NodeRef<'ast>
fn from(node: &'ast TsTypeOperatorOp) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeParam> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeParam> for NodeRef<'ast>
§fn from(node: &'ast TsTypeParam) -> NodeRef<'ast>
fn from(node: &'ast TsTypeParam) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeParamDecl> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeParamDecl> for NodeRef<'ast>
§fn from(node: &'ast TsTypeParamDecl) -> NodeRef<'ast>
fn from(node: &'ast TsTypeParamDecl) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeParamInstantiation> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeParamInstantiation> for NodeRef<'ast>
§fn from(node: &'ast TsTypeParamInstantiation) -> NodeRef<'ast>
fn from(node: &'ast TsTypeParamInstantiation) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypePredicate> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypePredicate> for NodeRef<'ast>
§fn from(node: &'ast TsTypePredicate) -> NodeRef<'ast>
fn from(node: &'ast TsTypePredicate) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeQuery> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeQuery> for NodeRef<'ast>
§fn from(node: &'ast TsTypeQuery) -> NodeRef<'ast>
fn from(node: &'ast TsTypeQuery) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsTypeQueryExpr> for NodeRef<'ast>
impl<'ast> From<&'ast TsTypeQueryExpr> for NodeRef<'ast>
§fn from(node: &'ast TsTypeQueryExpr) -> NodeRef<'ast>
fn from(node: &'ast TsTypeQueryExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsUnionOrIntersectionType> for NodeRef<'ast>
impl<'ast> From<&'ast TsUnionOrIntersectionType> for NodeRef<'ast>
§fn from(node: &'ast TsUnionOrIntersectionType) -> NodeRef<'ast>
fn from(node: &'ast TsUnionOrIntersectionType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast TsUnionType> for NodeRef<'ast>
impl<'ast> From<&'ast TsUnionType> for NodeRef<'ast>
§fn from(node: &'ast TsUnionType) -> NodeRef<'ast>
fn from(node: &'ast TsUnionType) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast UpdateExpr> for NodeRef<'ast>
impl<'ast> From<&'ast UpdateExpr> for NodeRef<'ast>
§fn from(node: &'ast UpdateExpr) -> NodeRef<'ast>
fn from(node: &'ast UpdateExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast VarDeclKind> for NodeRef<'ast>
impl<'ast> From<&'ast VarDeclKind> for NodeRef<'ast>
§fn from(node: &'ast VarDeclKind) -> NodeRef<'ast>
fn from(node: &'ast VarDeclKind) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast VarDeclOrExpr> for NodeRef<'ast>
impl<'ast> From<&'ast VarDeclOrExpr> for NodeRef<'ast>
§fn from(node: &'ast VarDeclOrExpr) -> NodeRef<'ast>
fn from(node: &'ast VarDeclOrExpr) -> NodeRef<'ast>
Converts to this type from the input type.
§impl<'ast> From<&'ast VarDeclarator> for NodeRef<'ast>
impl<'ast> From<&'ast VarDeclarator> for NodeRef<'ast>
§fn from(node: &'ast VarDeclarator) -> NodeRef<'ast>
fn from(node: &'ast VarDeclarator) -> NodeRef<'ast>
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§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§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<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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§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.§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.§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.§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.§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.§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.§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.§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.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
source§impl<T> ImplicitClone for Twhere
T: Clone,
impl<T> ImplicitClone for Twhere
T: Clone,
source§fn clone_quote_var(&self) -> Self
fn clone_quote_var(&self) -> Self
Available on crate feature
ecma_quote
only.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Set the foreground color generically Read more
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Set the background color generically. Read more
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to magenta
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Change the foreground color to the terminal default
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Change the background color to the terminal default
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Change the foreground color to bright black
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Change the background color to bright black
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Change the foreground color to bright red
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Change the background color to bright red
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Change the foreground color to bright green
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Change the background color to bright green
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Change the foreground color to bright yellow
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Change the background color to bright yellow
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Change the foreground color to bright blue
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Change the background color to bright blue
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright magenta
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright magenta
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright purple
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright purple
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Change the foreground color to bright cyan
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Change the background color to bright cyan
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Change the foreground color to bright white
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Change the background color to bright white
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Make the text blink (but fast!)
Hide the text
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Cross out the text
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either
OwoColorize::fg
or
a color-specific method, such as OwoColorize::green
, Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either
OwoColorize::bg
or
a color-specific method, such as OwoColorize::on_yellow
, Read more§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the foreground color to a specific RGB value.
§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the background color to a specific RGB value.
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Sets the background color to an RGB value.
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§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
§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 more§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 more§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
§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
§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.§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.§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.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T> Tap for T
impl<T> Tap for T
§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 more§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 more§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 more§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 more§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 more§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 more§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.§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.§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.§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.§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.§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.§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.