Struct typescript_type_def::type_expr::TypeName
source · 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: IdentThe 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 Send for TypeName
impl Sync for TypeName
impl Unpin for TypeName
impl UnwindSafe for TypeName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more