pub enum TextInputAction {
Change(String),
Return(String),
Escape,
KeyFocus,
KeyFocusLost,
None,
}
Variants§
Trait Implementations§
source§impl Clone for TextInputAction
impl Clone for TextInputAction
source§fn clone(&self) -> TextInputAction
fn clone(&self) -> TextInputAction
Returns a copy 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 Default for TextInputAction
impl Default for TextInputAction
source§impl Into<Box<dyn WidgetAction, Global>> for TextInputAction
impl Into<Box<dyn WidgetAction, Global>> for TextInputAction
source§fn into(self) -> Box<dyn WidgetAction>
fn into(self) -> Box<dyn WidgetAction>
Converts this type into the (usually inferred) input type.
source§impl PartialEq<TextInputAction> for TextInputAction
impl PartialEq<TextInputAction> for TextInputAction
source§fn eq(&self, other: &TextInputAction) -> bool
fn eq(&self, other: &TextInputAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TextInputAction
Auto Trait Implementations§
impl RefUnwindSafe for TextInputAction
impl Send for TextInputAction
impl Sync for TextInputAction
impl Unpin 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