Enum inquire::CustomTypePromptAction
source · pub enum CustomTypePromptAction {
ValueInput(InputAction),
}
Expand description
Set of actions for a CustomTypePrompt.
Variants§
ValueInput(InputAction)
Action on the value text input handler.
Trait Implementations§
source§impl Clone for CustomTypePromptAction
impl Clone for CustomTypePromptAction
source§fn clone(&self) -> CustomTypePromptAction
fn clone(&self) -> CustomTypePromptAction
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 CustomTypePromptAction
impl Debug for CustomTypePromptAction
source§impl InnerAction for CustomTypePromptAction
impl InnerAction for CustomTypePromptAction
source§impl PartialEq for CustomTypePromptAction
impl PartialEq for CustomTypePromptAction
source§fn eq(&self, other: &CustomTypePromptAction) -> bool
fn eq(&self, other: &CustomTypePromptAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CustomTypePromptAction
impl Eq for CustomTypePromptAction
impl StructuralPartialEq for CustomTypePromptAction
Auto Trait Implementations§
impl Freeze for CustomTypePromptAction
impl RefUnwindSafe for CustomTypePromptAction
impl Send for CustomTypePromptAction
impl Sync for CustomTypePromptAction
impl Unpin for CustomTypePromptAction
impl UnwindSafe for CustomTypePromptAction
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