fn parse_item_fn(&mut self,
                     unsafety: Unsafety,
                     constness: Constness,
                     abi: abi::Abi)
                     -> PResult<'a, ItemInfo> {
        let (ident, mut generics) = try!(self.parse_fn_header());
        let decl = try!(self.parse_fn_decl(false));
        generics.where_clause = try!(self.parse_where_clause());
        let (inner_attrs, body) = try!(self.parse_inner_attrs_and_block());
        Ok((ident, ItemKind::Fn(decl, unsafety, constness, abi, generics, body), Some(inner_attrs)))
    }
/// Parse an item-position function declaration.
Parse an item-position function declaration.
Parse an item - position function declaration .
fn parse_item_fn(&mut self,
                     unsafety: Unsafety,
                     constness: Constness,
                     abi: abi::Abi)
                     -> PResult<'a, ItemInfo> {
        let (ident, mut generics) = try!(self.parse_fn_header());
        let decl = try!(self.parse_fn_decl(false));
        generics.where_clause = try!(self.parse_where_clause());
        let (inner_attrs, body) = try!(self.parse_inner_attrs_and_block());
        Ok((ident, ItemKind::Fn(decl, unsafety, constness, abi, generics, body), Some(inner_attrs)))
    }
fn parse_item_fn ( & mut self , unsafety : Unsafety , constness : Constness , abi : abi :: Abi ) -> PResult < ' a , ItemInfo > { let ( ident , mut generics ) = try ! ( self parse_fn_header ( ) ) ; let decl = try ! ( self parse_fn_decl ( false ) ) ; generics . where_clause = try ! ( self parse_where_clause ( ) ) ; let ( inner_attrs , body ) = try ! ( self parse_inner_attrs_and_block ( ) ) ; Ok ( ( ident , ItemKind :: Fn ( decl , unsafety , constness , abi , generics , body ) , Some ( inner_attrs ) ) ) }
Parse an item-position function declaration.
Parse an item - position function declaration .
&mut self
unsafety
Unsafety
constness
Constness
abi
abi::Abi
&mut self
unsafety
Unsafety
constness
Constness
abi
abi::Abi