Function filter_def_ids

Source
pub(crate) fn filter_def_ids<F, T>(
    tcx: TyCtxt<'_>,
    krate: CrateNum,
    func: F,
) -> Vec<T>
where F: FnMut(DefId) -> Option<T>,
Expand description

Iterate over the definitions of the given crate.