pub enum TextInputAction {
Show 19 variants
MoveLeft {
shift: bool,
},
MoveRight {
shift: bool,
},
MoveWordLeft {
shift: bool,
},
MoveWordRight {
shift: bool,
},
MoveHome {
shift: bool,
},
MoveEnd {
shift: bool,
},
MoveUp {
shift: bool,
},
MoveDown {
shift: bool,
},
Backspace,
Delete,
BackspaceWord,
DeleteWord,
SelectAll,
Copy,
Cut,
Paste {
text: String,
},
Submit,
Undo,
Redo,
}Expand description
Actions that can be performed on a focused text input.
Variants§
MoveLeft
MoveRight
MoveWordLeft
MoveWordRight
MoveHome
MoveEnd
MoveUp
MoveDown
Backspace
Delete
BackspaceWord
DeleteWord
SelectAll
Copy
Cut
Paste
Submit
Undo
Redo
Trait Implementations§
Source§impl Clone for TextInputAction
impl Clone for TextInputAction
Source§fn clone(&self) -> TextInputAction
fn clone(&self) -> TextInputAction
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 moreAuto Trait Implementations§
impl Freeze for TextInputAction
impl RefUnwindSafe for TextInputAction
impl Send for TextInputAction
impl Sync for TextInputAction
impl Unpin for TextInputAction
impl UnsafeUnpin for TextInputAction
impl UnwindSafe for TextInputAction
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