pub struct ExprMatch {
pub attrs: Vec<Attribute>,
pub match_token: Match,
pub expr: Box<Expr>,
pub brace_token: Brace,
pub arms: Vec<Arm>,
}
Expand description
A match
expression: match n { Some(n) => {}, None => {} }
.
Fields§
§attrs: Vec<Attribute>
§match_token: Match
§expr: Box<Expr>
§brace_token: Brace
§arms: Vec<Arm>