Function rustc_lint::middle::ty::provided_trait_methodsUnstable
[-] [+]
[src]
pub fn provided_trait_methods(cx: &ctxt<'tcx>, id: DefId) -> Vec<Rc<Method<'tcx>>>
pub fn provided_trait_methods(cx: &ctxt<'tcx>, id: DefId) -> Vec<Rc<Method<'tcx>>>
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
, enum
,
trait
, typedef
(or
tdef
).