Struct syn::Arm [−][src]
One arm of a match
expression: 0...10 => { return true; }
.
As in:
match n { 0...10 => { return true; } // ... }
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
leading_vert: Option<Or>
pats: Punctuated<Pat, Or>
guard: Option<(If, Box<Expr>)>
fat_arrow_token: FatArrow
body: Box<Expr>
comma: Option<Comma>