Struct devise::syn::ExprMatch [−][src]
pub struct ExprMatch {
pub attrs: Vec<Attribute, Global>,
pub match_token: Match,
pub expr: Box<Expr, Global>,
pub brace_token: Brace,
pub arms: Vec<Arm, Global>,
}Expand description
A match expression: match n { Some(n) => {}, None => {} }.
This type is available if Syn is built with the "full" feature.
Fields
attrs: Vec<Attribute, Global>match_token: Matchexpr: Box<Expr, Global>brace_token: Bracearms: Vec<Arm, Global>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ExprMatch
impl UnwindSafe for ExprMatch
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