Struct syn::PatSlice [−][src]
pub struct PatSlice { pub attrs: Vec<Attribute>, pub bracket_token: Bracket, pub elems: Punctuated<Pat, Comma>, }
A dynamically sized slice pattern: [a, b, ref i @ .., y, z]
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
bracket_token: Bracket
elems: Punctuated<Pat, Comma>
Trait Implementations
impl ToTokens for PatSlice
[src]
impl ToTokens for PatSlice
[src]