KeyboardNavigationHandler
struct · ferroui-base · v0.5.0
struct KeyboardNavigationHandler
Handles keyboard navigation for a window.
Members
new
fn new() -> Rc<Self>
Creates a keyboard navigation handler without an owner.
get_next
fn get_next(element: &crate::Ref<super::InputElement>, direction: NavigationDirection) -> Option<crate::Ref<super::InputElement>>
Gets the next control in the specified navigation direction.
Returns the next element in the specified direction, or None if
element was the last in the requested direction.
Panics for directions other than next, previous, up, down, left and right.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherIKeyboardNavigationHandler
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.