Enum inquire::SelectPromptAction
source · pub enum SelectPromptAction {
FilterInput(InputAction),
MoveUp,
MoveDown,
PageUp,
PageDown,
MoveToStart,
MoveToEnd,
}
Expand description
Set of actions for a SelectPrompt.
Variants§
FilterInput(InputAction)
Action on the value text input handler.
MoveUp
Moves the cursor to the option above.
MoveDown
Moves the cursor to the option below.
PageUp
Moves the cursor to the page above.
PageDown
Moves the cursor to the page below.
MoveToStart
Moves the cursor to the start of the list.
MoveToEnd
Moves the cursor to the end of the list.
Trait Implementations§
source§impl Clone for SelectPromptAction
impl Clone for SelectPromptAction
source§fn clone(&self) -> SelectPromptAction
fn clone(&self) -> SelectPromptAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SelectPromptAction
impl Debug for SelectPromptAction
source§impl InnerAction for SelectPromptAction
impl InnerAction for SelectPromptAction
source§impl PartialEq for SelectPromptAction
impl PartialEq for SelectPromptAction
source§fn eq(&self, other: &SelectPromptAction) -> bool
fn eq(&self, other: &SelectPromptAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SelectPromptAction
impl Eq for SelectPromptAction
impl StructuralPartialEq for SelectPromptAction
Auto Trait Implementations§
impl Freeze for SelectPromptAction
impl RefUnwindSafe for SelectPromptAction
impl Send for SelectPromptAction
impl Sync for SelectPromptAction
impl Unpin for SelectPromptAction
impl UnwindSafe for SelectPromptAction
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