Struct devise::syn::PatSlice [−][src]
pub struct PatSlice {
pub bracket_token: Bracket,
pub front: Punctuated<Pat, Comma>,
pub middle: Option<Box<Pat, Global>>,
pub dot2_token: Option<Dot2>,
pub comma_token: Option<Comma>,
pub back: Punctuated<Pat, Comma>,
}
Expand description
A dynamically sized slice pattern: [a, b, i.., y, z]
.
This type is available if Syn is built with the "full"
feature.
Fields
bracket_token: Bracket
front: Punctuated<Pat, Comma>
middle: Option<Box<Pat, Global>>
dot2_token: Option<Dot2>
comma_token: Option<Comma>
back: 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
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more