Function rustc_trans::middle::ty::type_contentsExperimental
[-]
[+]
[src]
pub fn type_contents(cx: &ctxt<'tcx>, ty: &'tcx TyS<'tcx>) -> TypeContents
pub fn type_contents(cx: &ctxt<'tcx>, ty: &'tcx TyS<'tcx>) -> TypeContents
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).