Enum wayland_protocols::unstable::text_input::v1::client::zwp_text_input_v1::ContentHint [−][src]
#[repr(u32)] #[non_exhaustive] pub enum ContentHint {}Show variants
None, Default, Password, AutoCompletion, AutoCorrection, AutoCapitalization, Lowercase, Uppercase, Titlecase, HiddenText, SensitiveData, Latin, Multiline,
content hint
Content hint is a bitmask to allow to modify the behavior of the text input.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
no special behaviour
auto completion, correction and capitalization
hidden and sensitive text
suggest word completions
suggest word corrections
switch to uppercase letters at the start of a sentence
prefer lowercase letters
prefer uppercase letters
prefer casing for titles and headings (can be language dependent)
characters should be hidden
typed text should not be stored
just latin characters should be entered
the text input is multiline
Implementations
impl ContentHint
[src]
Trait Implementations
impl Clone for ContentHint
[src]
fn clone(&self) -> ContentHint
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ContentHint
[src]
impl Debug for ContentHint
[src]
impl PartialEq<ContentHint> for ContentHint
[src]
fn eq(&self, other: &ContentHint) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralPartialEq for ContentHint
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContentHint
impl Send for ContentHint
impl Sync for ContentHint
impl Unpin for ContentHint
impl UnwindSafe for ContentHint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,