Function rustc_typeck::middle::ty::ty_to_def_idExperimental [-]  [+] [src]

pub fn ty_to_def_id(ty: &TyS) -> Option<DefId>