Skip to main content

for_each_top_level_late_bound_region

Function for_each_top_level_late_bound_region 

Source
pub fn for_each_top_level_late_bound_region<'cx, B>(
    ty: Ty<'cx>,
    f: impl FnMut(BoundRegion<'cx>) -> ControlFlow<B>,
) -> ControlFlow<B>
Expand description

Calls f for each late-bound region in ty that is bound by the enclosing binder.

This ignores regions bound by nested binders.