pub enum InputPurpose {
Text,
Email,
Url,
Phone,
}Expand description
What a TextInput is for, which the platform uses as it uses one: to
pick an on-screen keyboard, to offer autofill, to check what’s typed.
Only the purposes every platform has.
Variants§
Trait Implementations§
Source§impl Clone for InputPurpose
impl Clone for InputPurpose
impl Copy for InputPurpose
Source§impl Debug for InputPurpose
impl Debug for InputPurpose
Source§impl Default for InputPurpose
impl Default for InputPurpose
impl Eq for InputPurpose
Source§impl Hash for InputPurpose
impl Hash for InputPurpose
Source§impl IntoValue<InputPurpose> for InputPurpose
impl IntoValue<InputPurpose> for InputPurpose
fn into_value(self) -> Value<InputPurpose>
Source§impl PartialEq for InputPurpose
impl PartialEq for InputPurpose
impl StructuralPartialEq for InputPurpose
Auto Trait Implementations§
impl Forget for InputPurpose
impl Freeze for InputPurpose
impl Move for InputPurpose
impl RefUnwindSafe for InputPurpose
impl Send for InputPurpose
impl Sync for InputPurpose
impl Unpin for InputPurpose
impl UnsafeUnpin for InputPurpose
impl UnwindSafe for InputPurpose
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