Enum syntax::visit::FnKind  
                   
                       [−]
                   
               [src]
pub enum FnKind<'a> {
    ItemFn(Ident, &'a Generics, Unsafety, Constness, Abi, &'a Visibility),
    Method(Ident, &'a MethodSig, Option<&'a Visibility>),
    Closure,
}Unstable (
rustc_private)Variants
ItemFn(Ident, &'a Generics, Unsafety, Constness, Abi, &'a Visibility)Unstable (
rustc_private)fn foo() or extern "Abi" fn foo()
Method(Ident, &'a MethodSig, Option<&'a Visibility>)Unstable (
rustc_private)fn foo(&self)
ClosureUnstable (
rustc_private)|x, y| {}
Trait Implementations
Derived Implementations
impl<'a> Eq for FnKind<'a>[src]
impl<'a> PartialEq for FnKind<'a>[src]
fn eq(&self, __arg_0: &FnKind<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FnKind<'a>) -> bool
This method tests for !=.
impl<'a> Clone for FnKind<'a>[src]
fn clone(&self) -> FnKind<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more