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 Clone for PatSlice
[src]
impl Clone for PatSlice
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ToTokens for PatSlice
[src]
impl ToTokens for PatSlice
[src]