Skip to main content

with_findable

Function with_findable 

pub fn with_findable<R>(
    widget: &mut dyn Widget,
    visit: &mut dyn FnMut(&mut dyn Findable) -> R,
) -> Option<R>
Expand description

Run visit on the first Findable in widget’s subtree; None when there is none.