Function rustc_typeck::middle::ty::maybe_walk_tyExperimental
[-]
[+]
[src]
pub fn maybe_walk_ty<'tcx, F>(ty: &'tcx TyS<'tcx>, f: F)
pub fn maybe_walk_ty<'tcx, F>(ty: &'tcx TyS<'tcx>, f: F)
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
).