Struct syntax::ast::Arm[src]

pub struct Arm {
    pub attrs: Vec<Attribute>,
    pub pats: Vec<Gc<Pat>>,
    pub guard: Option<Gc<Expr>>,
    pub body: Gc<Expr>,
}

Fields

attrs
pats
guard
body

Trait Implementations

Derived Implementations

impl<__S: Writer> Hash<__S> for Arm

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Arm

fn decode(__arg_0: &mut __D) -> Result<Arm, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Arm

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl Eq for Arm

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Arm

fn eq(&self, __arg_0: &Arm) -> bool

fn ne(&self, __arg_0: &Arm) -> bool

impl Clone for Arm

fn clone(&self) -> Arm

fn clone_from(&mut self, source: &Self)