pub enum SubmitLabel {
Return,
Done,
Go,
Next,
Search,
Send,
}Expand description
The on-screen keyboard’s action key (text_field(..).submit_label(_), docs/textfield.md).
The key always fires the field’s on_submit; this names what it promises. A toolkit with
no on-screen keyboard ignores it.
Variants§
Trait Implementations§
Source§impl Clone for SubmitLabel
impl Clone for SubmitLabel
Source§fn clone(&self) -> SubmitLabel
fn clone(&self) -> SubmitLabel
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 moreimpl Copy for SubmitLabel
Source§impl Debug for SubmitLabel
impl Debug for SubmitLabel
Source§impl Default for SubmitLabel
impl Default for SubmitLabel
Source§fn default() -> SubmitLabel
fn default() -> SubmitLabel
Returns the “default value” for a type. Read more
impl Eq for SubmitLabel
Source§impl Hash for SubmitLabel
impl Hash for SubmitLabel
Source§impl PartialEq for SubmitLabel
impl PartialEq for SubmitLabel
impl StructuralPartialEq for SubmitLabel
Auto Trait Implementations§
impl Freeze for SubmitLabel
impl RefUnwindSafe for SubmitLabel
impl Send for SubmitLabel
impl Sync for SubmitLabel
impl Unpin for SubmitLabel
impl UnsafeUnpin for SubmitLabel
impl UnwindSafe for SubmitLabel
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