Struct skyspell::interactor::ConsoleInteractor
source · pub struct ConsoleInteractor;
Trait Implementations§
source§impl Interactor for ConsoleInteractor
impl Interactor for ConsoleInteractor
fn input(&self, prompt: &str) -> String
fn input_letter(&self, prompt: &str, choices: &str) -> String
fn select(&self, prompt: &str, choices: &[&str]) -> Option<usize>
fn info(&self, message: &str)
fn confirm(&self, prompt: &str) -> bool
fn error(&self, message: &str)
Auto Trait Implementations§
impl RefUnwindSafe for ConsoleInteractor
impl Send for ConsoleInteractor
impl Sync for ConsoleInteractor
impl Unpin for ConsoleInteractor
impl UnwindSafe for ConsoleInteractor
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