pub enum TextInputAction {
Done,
Go,
Search,
Send,
Next,
Previous,
Continue,
Join,
Route,
EmergencyCall,
Newline,
}Expand description
Preferred action for the return/submit key on software keyboards.
Variants§
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 (const: unstable) · 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 TextInputAction
impl Debug for TextInputAction
Source§impl Default for TextInputAction
impl Default for TextInputAction
Source§fn default() -> TextInputAction
fn default() -> TextInputAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextInputAction
impl<'de> Deserialize<'de> for TextInputAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TextInputAction
impl Hash for TextInputAction
Source§impl PartialEq for TextInputAction
impl PartialEq for TextInputAction
Source§fn eq(&self, other: &TextInputAction) -> bool
fn eq(&self, other: &TextInputAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextInputAction
impl Serialize for TextInputAction
impl Copy for TextInputAction
impl Eq for TextInputAction
impl StructuralPartialEq for TextInputAction
Auto 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