pub enum UserPromptPhase {
Select {
cursor: usize,
},
MultiSelect {
cursor: usize,
selected: Vec<bool>,
},
Confirm {
yes: bool,
},
TextInput {
input: String,
},
Form {
cursor: usize,
inputs: Vec<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for UserPromptPhase
impl Clone for UserPromptPhase
Source§fn clone(&self) -> UserPromptPhase
fn clone(&self) -> UserPromptPhase
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for UserPromptPhase
impl RefUnwindSafe for UserPromptPhase
impl Send for UserPromptPhase
impl Sync for UserPromptPhase
impl Unpin for UserPromptPhase
impl UnsafeUnpin for UserPromptPhase
impl UnwindSafe for UserPromptPhase
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