TextInputContentType
enum · ferroui-base · v0.5.0
enum TextInputContentType
The kind of content a text input expects, which lets the platform show an appropriate (on-screen) keyboard.
Members
Normal
Normal = 0
Default keyboard for the user's selected input method.
Alpha
Alpha = 1
Display a keyboard that only has alphabetic characters.
Digits
Digits = 2
Display a numeric keypad only capable of numbers, i.e. phone number.
Pin
Pin = 3
Display a numeric keypad for inputting a PIN.
Number
Number = 4
Display a numeric keypad capable of inputting numbers including decimal separator and sign.
Email = 5
Display a keyboard for entering an email address.
Url
Url = 6
Display a keyboard for entering a URL.
Name
Name = 7
Display a keyboard for entering a person's name.
Password
Password = 8
Display a keyboard for entering sensitive data.
Social
Social = 9
Display a keyboard suitable for #tag and @mentions. Not available on every platform, will fallback to a suitable keyboard when not available.
Search
Search = 10
Display a keyboard for entering a search keyword.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHashFrom<TextInputContentType>MarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.