Function rustc::middle::ty::maybe_walk_tyExperimental
[-]
[+]
[src]
pub fn maybe_walk_ty<'tcx, F>(ty: Ty<'tcx>, f: F) where F: FnMut(Ty<'tcx>) -> bool
pub fn maybe_walk_ty<'tcx, F>(ty: Ty<'tcx>, f: F) where F: FnMut(Ty<'tcx>) -> bool
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
).