Enum swc_babel_ast::TSBaseType [−][src]
pub enum TSBaseType {
Show 15 variants
Any(TSAnyKeyword),
Boolean(TSBooleanKeyword),
BigInt(TSBigIntKeyword),
Intrinsic(TSIntrinsicKeyword),
Never(TSNeverKeyword),
Null(TSNullKeyword),
Number(TSNumberKeyword),
Object(TSObjectKeyword),
String(TSStringKeyword),
Symbol(TSSymbolKeyword),
Undefined(TSUndefinedKeyword),
Unknown(TSUnknownKeyword),
Void(TSVoidKeyword),
This(TSThisType),
Literal(TSLiteralType),
}
Variants
Any(TSAnyKeyword)
Tuple Fields
0: TSAnyKeyword
Boolean(TSBooleanKeyword)
Tuple Fields
BigInt(TSBigIntKeyword)
Tuple Fields
Intrinsic(TSIntrinsicKeyword)
Tuple Fields
Never(TSNeverKeyword)
Tuple Fields
Null(TSNullKeyword)
Tuple Fields
Number(TSNumberKeyword)
Tuple Fields
Object(TSObjectKeyword)
Tuple Fields
String(TSStringKeyword)
Tuple Fields
Symbol(TSSymbolKeyword)
Tuple Fields
Undefined(TSUndefinedKeyword)
Tuple Fields
Unknown(TSUnknownKeyword)
Tuple Fields
Void(TSVoidKeyword)
Tuple Fields
This(TSThisType)
Tuple Fields
0: TSThisType
Literal(TSLiteralType)
Tuple Fields
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TSBaseType
impl Send for TSBaseType
impl Sync for TSBaseType
impl Unpin for TSBaseType
impl UnwindSafe for TSBaseType
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more