Struct syn::ExprArray [−][src]
pub struct ExprArray { pub attrs: Vec<Attribute>, pub bracket_token: Bracket, pub elems: Punctuated<Expr, Comma>, }
A slice literal expression: [a, b, c, d]
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
bracket_token: Bracket
elems: Punctuated<Expr, Comma>
Trait Implementations
impl Clone for ExprArray
[src]
impl Clone for ExprArray
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ToTokens for ExprArray
[src]
impl ToTokens for ExprArray
[src]