pub enum TextInputType {
Text,
Multiline,
Number,
EmailAddress,
Url,
Phone,
Name,
}Expand description
Preferred software keyboard / input modality for a text field.
Variants§
Trait Implementations§
Source§impl Clone for TextInputType
impl Clone for TextInputType
Source§fn clone(&self) -> TextInputType
fn clone(&self) -> TextInputType
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 TextInputType
impl Debug for TextInputType
Source§impl Default for TextInputType
impl Default for TextInputType
Source§fn default() -> TextInputType
fn default() -> TextInputType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextInputType
impl<'de> Deserialize<'de> for TextInputType
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 TextInputType
impl Hash for TextInputType
Source§impl PartialEq for TextInputType
impl PartialEq for TextInputType
Source§fn eq(&self, other: &TextInputType) -> bool
fn eq(&self, other: &TextInputType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextInputType
impl Serialize for TextInputType
impl Copy for TextInputType
impl Eq for TextInputType
impl StructuralPartialEq for TextInputType
Auto Trait Implementations§
impl Freeze for TextInputType
impl RefUnwindSafe for TextInputType
impl Send for TextInputType
impl Sync for TextInputType
impl Unpin for TextInputType
impl UnsafeUnpin for TextInputType
impl UnwindSafe for TextInputType
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