[−][src]Enum window::input::TextInput
Typing input. Ctrl refers to Cmd on MacOS.
Variants (Non-exhaustive)
Escape key or back button
Text(char)
User has entered some character via keyboard or paste
Backspace / Shift-Delete (Delete previous character)
Delete / Shift-Backspace (Delete next character)
Compose(bool)
User has entered compose key (show visually somehow, no other action necessary)
Enter (Newline, nextline or submit)
Shift-Enter (Previous line - Useful for spreadsheet and music software)
Tab (Indent or next)
Shift-Tab (UnIndent or previous)
ArrowUp (Move cursor up)
ArrowDown (Move cursor down)
ArrowLeft (Move cursor left)
ArrowRight (Move cursor right)
Shift-ArrowUp (Cursor select up)
Shift-ArrowDown (Cursor select down)
Shift-ArrowLeft (Cursor select left)
Shift-ArrowRight (Cursor select right)
Ctrl-C
Alt-C (Ctrl-Shift-C)
Ctrl-V
Alt-V (Ctrl-Shift-V)
Ctrl-X
Alt-X (Ctrl-Shift-X)
Ctrl-A
Ctrl-D
Ctrl-F
Alt-F
Ctrl-G
Ctrl-Z
Alt-Z (Ctrl-Y, Ctrl-Shift-Z)
Ctrl-S
Alt-S (Ctrl-Shift-S)
Home (Beginning of line)
End (End of Line)
PageUp (Up one page)
PageDown (Down one page)
Ctrl-U (Make selection underlined)
Ctrl-I (Make selection italic)
Ctrl-B (Make selection bold)
Alt-ArrowLeft (Swap word left)
Alt-ArrowRight (Swap word right)
Alt-ArrowUp (swap line up)
Alt-ArrowDown (swap line down)
Ctrl-Delete / Alt-Backspace (Delete until space)
Ctrl-Backspace / Alt-Delete (Backspace until space)
Ctrl-ArrowLeft
Ctrl-ArrowRight
Ctrl-ArrowUp (Up and Home at once)
Ctrl-ArrowDown (Down and End at once)
Ctrl-N (New)
Ctrl-O (Open)
Alt-N / Ctrl-Shift-N (New With Template)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TextInput
impl Send for TextInput
impl Sync for TextInput
impl Unpin for TextInput
impl UnwindSafe for TextInput
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<'a, T> DynBoxFut<'a> for T
[src]
pub fn box_fut(
this: &'a mut Pin<Box<dyn Future<Output = T> + 'static, Global>>
) -> DynFuture<'a, T>
[src]
this: &'a mut Pin<Box<dyn Future<Output = T> + 'static, Global>>
) -> DynFuture<'a, T>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,