Enum rs::imservice::ContentPurpose
source · [−]pub enum ContentPurpose {
Show 14 variants
Normal,
Alpha,
Digits,
Number,
Phone,
Url,
Email,
Name,
Password,
Pin,
Date,
Time,
Datetime,
Terminal,
}
Expand description
Map to text_input_unstable_v3.content_purpose
values
use rs::imservice::ContentPurpose;
assert_eq!(ContentPurpose::Alpha as u32, 1);
Variants
Normal
Alpha
Digits
Number
Phone
Url
Email
Name
Password
Pin
Date
Time
Datetime
Terminal
Trait Implementations
sourceimpl Clone for ContentPurpose
impl Clone for ContentPurpose
sourcefn clone(&self) -> ContentPurpose
fn clone(&self) -> ContentPurpose
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ContentPurpose
impl Debug for ContentPurpose
sourceimpl PartialEq<ContentPurpose> for ContentPurpose
impl PartialEq<ContentPurpose> for ContentPurpose
sourceimpl TryFrom<u32> for ContentPurpose
impl TryFrom<u32> for ContentPurpose
impl Copy for ContentPurpose
impl StructuralPartialEq for ContentPurpose
Auto Trait Implementations
impl RefUnwindSafe for ContentPurpose
impl Send for ContentPurpose
impl Sync for ContentPurpose
impl Unpin for ContentPurpose
impl UnwindSafe for ContentPurpose
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more