Struct typescript_type_def::type_expr::TypeName [−][src]
pub struct TypeName { pub docs: Option<Docs>, pub path: List<Ident>, pub name: Ident, pub generics: List<TypeExpr>, }
Expand description
A TypeScript type name, analogous to a Rust path with optional generics.
Fields
docs: Option<Docs>
The documentation for this type name.
path: List<Ident>
The namespace path for this type.
name: Ident
The name of this type.
generics: 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