pub enum SemanticsInputType {
None,
Text,
Url,
Phone,
Search,
Email,
}Expand description
Describe the type of data for an input field.
This is typically used to complement text fields.
Variants§
None
The default for non text field.
Text
Describes a generic text field.
Url
Describes a url text field.
Phone
Describes a text field for phone input.
Search
Describes a text field that act as a search box.
Describes a text field for email input.
Trait Implementations§
Source§impl Clone for SemanticsInputType
impl Clone for SemanticsInputType
impl Copy for SemanticsInputType
Source§impl Debug for SemanticsInputType
impl Debug for SemanticsInputType
impl Eq for SemanticsInputType
Source§impl Hash for SemanticsInputType
impl Hash for SemanticsInputType
Source§impl PartialEq for SemanticsInputType
impl PartialEq for SemanticsInputType
impl StructuralPartialEq for SemanticsInputType
Auto Trait Implementations§
impl Forget for SemanticsInputType
impl Freeze for SemanticsInputType
impl Move for SemanticsInputType
impl RefUnwindSafe for SemanticsInputType
impl Send for SemanticsInputType
impl Sync for SemanticsInputType
impl Unpin for SemanticsInputType
impl UnsafeUnpin for SemanticsInputType
impl UnwindSafe for SemanticsInputType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.