Struct typescript_type_def::type_expr::TypeArray [−][src]
Expand description
A TypeScript array type.
In TypeScript, an array is distinct from a tuple by the fact that it may have any length and every element has the same type (although that type may be a union so the elements may have different runtime types). Values of both of these types are encoded as arrays in JSON.
Fields
docs: Option<Docs>
The documentation for this array.
item: &'static TypeExpr
The type of items of this array.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TypeArray
impl UnwindSafe for TypeArray
Blanket Implementations
Mutably borrows from an owned value. Read more