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 !Send for TypeArray
impl !Sync for TypeArray
impl Unpin for TypeArray
impl UnwindSafe for TypeArray
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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