pub enum FocusDirection {
Up,
Down,
Left,
Right,
}Expand description
Direction of arrow-key focus navigation.
Variants§
Up
The up arrow: focus moves to the widget above.
Down
The down arrow: focus moves to the widget below.
Left
The left arrow: focus moves to the widget on the left.
Right
The right arrow: focus moves to the widget on the right.
Trait Implementations§
Source§impl Clone for FocusDirection
impl Clone for FocusDirection
impl Copy for FocusDirection
Source§impl Debug for FocusDirection
impl Debug for FocusDirection
impl Eq for FocusDirection
Source§impl PartialEq for FocusDirection
impl PartialEq for FocusDirection
impl StructuralPartialEq for FocusDirection
Auto Trait Implementations§
impl Freeze for FocusDirection
impl RefUnwindSafe for FocusDirection
impl Send for FocusDirection
impl Sync for FocusDirection
impl Unpin for FocusDirection
impl UnsafeUnpin for FocusDirection
impl UnwindSafe for FocusDirection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more