pub struct DefaultInputHandler;
Trait Implementations§
Source§impl CustomInput for DefaultInputHandler
impl CustomInput for DefaultInputHandler
fn handle_key_press( &mut self, key: &Event, current_text: String, ) -> KeyPressResult
fn before_draw_text(&mut self, terminal_size: (u16, u16), current_text: String)
fn after_draw_text(&mut self, terminal_size: (u16, u16), current_text: String)
fn get_offset( &mut self, terminal_size: (u16, u16), current_text: String, ) -> (u16, u16)
fn get_size( &mut self, terminal_size: (u16, u16), current_text: String, ) -> (u16, u16)
Auto Trait Implementations§
impl Freeze for DefaultInputHandler
impl RefUnwindSafe for DefaultInputHandler
impl Send for DefaultInputHandler
impl Sync for DefaultInputHandler
impl Unpin for DefaultInputHandler
impl UnwindSafe for DefaultInputHandler
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