Function syntax::ast_util::trait_item_to_ty_methodUnstable [-] [+] [src]

pub fn trait_item_to_ty_method(method: &TraitItem) -> TypeMethod

extract a TypeMethod from a TraitItem. if the TraitItem is a default, pull out the useful fields to make a TypeMethod