pub enum KeyAction {
Confirm(Selection),
Cancel,
Continue(Selection),
}Expand description
Result of processing a key event.
Variants§
Confirm(Selection)
User confirmed their selection
Cancel
User cancelled (Ctrl+C)
Continue(Selection)
Selection changed, continue prompting
Trait Implementations§
impl Copy for KeyAction
impl Eq for KeyAction
impl StructuralPartialEq for KeyAction
Auto Trait Implementations§
impl Freeze for KeyAction
impl RefUnwindSafe for KeyAction
impl Send for KeyAction
impl Sync for KeyAction
impl Unpin for KeyAction
impl UnwindSafe for KeyAction
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