Enum syntex_syntax::visit::FnKind
[−]
[src]
pub enum FnKind<'a> { ItemFn(Ident, &'a Generics, Unsafety, Constness, Abi, Visibility), Method(Ident, &'a MethodSig, Option<Visibility>), Closure, }
Variants
ItemFn | fn foo() or extern "Abi" fn foo() |
Method | fn foo(&self) |
Closure | |x, y| {} |