pub enum TextInputMode {
SingleLine,
MultiLine,
Password,
}Expand description
Modes for text input dialogs.
Variants§
SingleLine
Single line text input dialog.
MultiLine
Multi-line text input dialog.
Password
Password input dialog, which hides the input text.
Trait Implementations§
Source§impl Clone for TextInputMode
impl Clone for TextInputMode
Source§fn clone(&self) -> TextInputMode
fn clone(&self) -> TextInputMode
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 TextInputMode
Source§impl Debug for TextInputMode
impl Debug for TextInputMode
impl Eq for TextInputMode
Source§impl PartialEq for TextInputMode
impl PartialEq for TextInputMode
Source§fn eq(&self, other: &TextInputMode) -> bool
fn eq(&self, other: &TextInputMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextInputMode
Auto Trait Implementations§
impl Freeze for TextInputMode
impl RefUnwindSafe for TextInputMode
impl Send for TextInputMode
impl Sync for TextInputMode
impl Unpin for TextInputMode
impl UnsafeUnpin for TextInputMode
impl UnwindSafe for TextInputMode
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