Enum InputType
#[repr(i32)]pub enum InputType {
Default = 0,
Numeric = 1,
Email = 2,
Url = 3,
}Expand description
Variants§
Default = 0
The input is the default of the input method.
Numeric = 1
The input is numeric.
Email = 2
The input requires a layout with characters used in email addresses.
Url = 3
The input requires a layout with characters used in URLs.
Implementations§
Trait Implementations§
§impl VariantConstraint for InputType
impl VariantConstraint for InputType
impl Copy for InputType
impl Eq for InputType
impl PropertyTypeConstraint for InputType
impl StructuralPartialEq for InputType
Auto Trait Implementations§
impl Freeze for InputType
impl RefUnwindSafe for InputType
impl Send for InputType
impl Sync for InputType
impl Unpin for InputType
impl UnwindSafe for InputType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)