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 |
pub struct Arm {
pub attrs: Vec<Attribute>,
pub pats: Vec<Gc<Pat>>,
pub guard: Option<Gc<Expr>>,
pub body: Gc<Expr>,
}attrs | |
pats | |
guard | |
body |
impl<__S: Writer> Hash<__S> for Armfn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Armimpl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Armimpl Eq for Armfn assert_receiver_is_total_eq(&self)impl PartialEq for Armimpl Clone for Armfn clone(&self) -> Armfn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).