Enum rslint_parser::ast::TsType [−][src]
pub enum TsType {
Show 31 variants
TsAny(TsAny),
TsUnknown(TsUnknown),
TsNumber(TsNumber),
TsObject(TsObject),
TsBoolean(TsBoolean),
TsBigint(TsBigint),
TsString(TsString),
TsSymbol(TsSymbol),
TsVoid(TsVoid),
TsUndefined(TsUndefined),
TsNull(TsNull),
TsNever(TsNever),
TsThis(TsThis),
TsLiteral(TsLiteral),
TsPredicate(TsPredicate),
TsTuple(TsTuple),
TsParen(TsParen),
TsTypeRef(TsTypeRef),
TsTemplate(TsTemplate),
TsMappedType(TsMappedType),
TsImport(TsImport),
TsArray(TsArray),
TsIndexedArray(TsIndexedArray),
TsTypeOperator(TsTypeOperator),
TsIntersection(TsIntersection),
TsUnion(TsUnion),
TsFnType(TsFnType),
TsConstructorType(TsConstructorType),
TsConditionalType(TsConditionalType),
TsObjectType(TsObjectType),
TsInfer(TsInfer),
}
Expand description
A TypeScript type
Variants
TsAny(TsAny)
Tuple Fields of TsAny
0: TsAny
TsUnknown(TsUnknown)
Tuple Fields of TsUnknown
0: TsUnknown
TsNumber(TsNumber)
Tuple Fields of TsNumber
0: TsNumber
TsObject(TsObject)
Tuple Fields of TsObject
0: TsObject
TsBoolean(TsBoolean)
Tuple Fields of TsBoolean
0: TsBoolean
TsBigint(TsBigint)
Tuple Fields of TsBigint
0: TsBigint
TsString(TsString)
Tuple Fields of TsString
0: TsString
TsSymbol(TsSymbol)
Tuple Fields of TsSymbol
0: TsSymbol
TsVoid(TsVoid)
Tuple Fields of TsVoid
0: TsVoid
TsUndefined(TsUndefined)
Tuple Fields of TsUndefined
0: TsUndefined
TsNull(TsNull)
Tuple Fields of TsNull
0: TsNull
TsNever(TsNever)
Tuple Fields of TsNever
0: TsNever
TsThis(TsThis)
Tuple Fields of TsThis
0: TsThis
TsLiteral(TsLiteral)
Tuple Fields of TsLiteral
0: TsLiteral
TsPredicate(TsPredicate)
Tuple Fields of TsPredicate
0: TsPredicate
TsTuple(TsTuple)
Tuple Fields of TsTuple
0: TsTuple
TsParen(TsParen)
Tuple Fields of TsParen
0: TsParen
TsTypeRef(TsTypeRef)
Tuple Fields of TsTypeRef
0: TsTypeRef
TsTemplate(TsTemplate)
Tuple Fields of TsTemplate
0: TsTemplate
TsMappedType(TsMappedType)
Tuple Fields of TsMappedType
0: TsMappedType
TsImport(TsImport)
Tuple Fields of TsImport
0: TsImport
TsArray(TsArray)
Tuple Fields of TsArray
0: TsArray
TsIndexedArray(TsIndexedArray)
Tuple Fields of TsIndexedArray
TsTypeOperator(TsTypeOperator)
Tuple Fields of TsTypeOperator
TsIntersection(TsIntersection)
Tuple Fields of TsIntersection
TsUnion(TsUnion)
Tuple Fields of TsUnion
0: TsUnion
TsFnType(TsFnType)
Tuple Fields of TsFnType
0: TsFnType
TsConstructorType(TsConstructorType)
Tuple Fields of TsConstructorType
TsConditionalType(TsConditionalType)
Tuple Fields of TsConditionalType
TsObjectType(TsObjectType)
Tuple Fields of TsObjectType
0: TsObjectType
TsInfer(TsInfer)
Tuple Fields of TsInfer
0: TsInfer
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TsType
impl UnwindSafe for TsType
Blanket Implementations
Mutably borrows from an owned value. Read more
Whether this implementor has acknowledged the 1.1.0 update to
unerase
’s documented implementation requirements. Read more