Enum tui_input::InputRequest
source · pub enum InputRequest {
}Expand description
Input requests are used to change the input state.
Different backends can be used to convert events into requests.
Variants§
SetCursor(usize)
InsertChar(char)
GoToPrevChar
GoToNextChar
GoToPrevWord
GoToNextWord
GoToStart
GoToEnd
DeletePrevChar
DeleteNextChar
DeletePrevWord
DeleteNextWord
DeleteLine
DeleteTillEnd
Trait Implementations§
source§impl Clone for InputRequest
impl Clone for InputRequest
source§fn clone(&self) -> InputRequest
fn clone(&self) -> InputRequest
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 InputRequest
impl Debug for InputRequest
source§impl Hash for InputRequest
impl Hash for InputRequest
source§impl PartialEq<InputRequest> for InputRequest
impl PartialEq<InputRequest> for InputRequest
source§fn eq(&self, other: &InputRequest) -> bool
fn eq(&self, other: &InputRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<InputRequest> for InputRequest
impl PartialOrd<InputRequest> for InputRequest
source§fn partial_cmp(&self, other: &InputRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &InputRequest) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more