pub trait IterFocusableExt<I>where
I: Iterator<Item = WidgetInfo>,{
// Required method
fn focusable(
self,
focus_disabled_widgets: bool,
focus_hidden_widgets: bool,
) -> IterFocusable<I> ⓘ;
}
Expand description
Filter-maps an iterator of WidgetInfo
to WidgetFocusInfo
.
Required Methods§
sourcefn focusable(
self,
focus_disabled_widgets: bool,
focus_hidden_widgets: bool,
) -> IterFocusable<I> ⓘ
fn focusable( self, focus_disabled_widgets: bool, focus_hidden_widgets: bool, ) -> IterFocusable<I> ⓘ
Returns an iterator of only the focusable widgets.
See the FOCUS.focus_disabled_widgets
and FOCUS.focus_hidden_widgets
config for more on the parameter.