Struct syn::ExprMatch [−][src]
pub struct ExprMatch {
    pub attrs: Vec<Attribute>,
    pub match_token: Match,
    pub expr: Box<Expr>,
    pub brace_token: Brace,
    pub arms: Vec<Arm>,
}A match expression: match n { Some(n) => {}, None => {} }.
This type is available only if Syn is built with the "full" feature.
Fields
attrs: Vec<Attribute>match_token: Matchexpr: Box<Expr>brace_token: Bracearms: Vec<Arm>Trait Implementations
impl Clone for ExprMatch[src]
impl Clone for ExprMatch[src]fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl ToTokens for ExprMatch[src]
impl ToTokens for ExprMatch[src]