pub struct TypeArray {
pub bracket_token: Bracket,
pub elem: Box<Type>,
pub semi_token: Semi,
pub len: Expr,
}
Expand description
A fixed size array type: [T; n]
.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
bracket_token: Bracket
elem: Box<Type>
semi_token: Semi
len: Expr
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TypeArray
impl UnwindSafe for TypeArray
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more