pub enum ImeAction {
Default,
None,
Go,
Search,
Send,
Previous,
Next,
Done,
}Expand description
The action key a software keyboard shows, which Enter also runs in a
single-line field: Compose’s ImeAction.
Variants§
Default
None
No action: Enter adds a line in a multi-line field and does nothing in a single-line one.
Go
Opens the destination the person typed, such as a web address.
Search
Runs the search for the text typed.
Send
Sends the text typed.
Previous
Moves focus to the previous field by default.
Next
Moves focus to the next field by default.
Done
Hides the software keyboard by default.
Implementations§
Trait Implementations§
impl Copy for ImeAction
impl Eq for ImeAction
impl StructuralPartialEq for ImeAction
Auto Trait Implementations§
impl Freeze for ImeAction
impl RefUnwindSafe for ImeAction
impl Send for ImeAction
impl Sync for ImeAction
impl Unpin for ImeAction
impl UnsafeUnpin for ImeAction
impl UnwindSafe for ImeAction
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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