pub enum KeyNavMove {
Next,
Previous,
First,
Last,
NextRow,
PreviousRow,
Activate,
Cancel,
}Expand description
What a key press means to a list.
Variants§
Next
Previous
First
Last
NextRow
One row down in a grid — a whole column count, not one tile. Same as KeyNavMove::Next in a single-column
list, which is what lets one apply serve both.
PreviousRow
Activate
Run the selected row.
Cancel
Back out: dismiss the surface, or undo an armed confirmation.
Trait Implementations§
Source§fn clone(&self) -> KeyNavMove
fn clone(&self) -> KeyNavMove
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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