Struct typescript_type_def::type_expr::TypeName [−][src]
Expand description
A reference to a built-in TypeScript type, analogous to a Rust path with optional generics.
Fields
path: List<Ident>
The namespace path for this type.
name: Ident
The name of this type.
generic_args: List<TypeExpr>
The generic arguments for this type.
If empty, the type does not have generics.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TypeName
impl UnwindSafe for TypeName
Blanket Implementations
Mutably borrows from an owned value. Read more