Struct syn::PatSlice [−][src]
pub struct PatSlice {
pub attrs: Vec<Attribute>,
pub bracket_token: Bracket,
pub elems: Punctuated<Pat, Comma>,
}Expand description
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: Bracketelems: Punctuated<Pat, Comma>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PatSlice
impl UnwindSafe for PatSlice
Blanket Implementations
Mutably borrows from an owned value. Read more