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 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 moreSource§impl Debug for InputRequest
impl Debug for InputRequest
Source§impl Hash for InputRequest
impl Hash for InputRequest
Source§impl PartialEq for InputRequest
impl PartialEq for InputRequest
Source§impl PartialOrd for InputRequest
impl PartialOrd for InputRequest
impl Copy for InputRequest
impl Eq for InputRequest
impl StructuralPartialEq for InputRequest
Auto Trait Implementations§
impl Freeze for InputRequest
impl RefUnwindSafe for InputRequest
impl Send for InputRequest
impl Sync for InputRequest
impl Unpin for InputRequest
impl UnwindSafe for InputRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more