[][src]Enum wayland_raw_protocol_bindings::client::text_input_unstable_v1::zwp_text_input_v1::content_hint

#[repr(u32)]
pub enum content_hint {
    none,
    default,
    password,
    auto_completion,
    auto_correction,
    auto_capitalization,
    lowercase,
    uppercase,
    titlecase,
    hidden_text,
    sensitive_data,
    latin,
    multiline,
    // some variants omitted
}

content hint

Content hint is a bitmask to allow to modify the behavior of the text input.

Variants

none

no special behaviour

default

auto completion, correction and capitalization

password

hidden and sensitive text

auto_completion

suggest word completions

auto_correction

suggest word corrections

auto_capitalization

switch to uppercase letters at the start of a sentence

lowercase

prefer lowercase letters

uppercase

prefer uppercase letters

titlecase

prefer casing for titles and headings (can be language dependent)

hidden_text

characters should be hidden

sensitive_data

typed text should not be stored

latin

just latin characters should be entered

multiline

the text input is multiline

Methods

impl content_hint[src]

pub fn from_raw(n: u32) -> Option<content_hint>[src]

pub fn to_raw(&self) -> u32[src]

Trait Implementations

impl PartialEq<content_hint> for content_hint[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Clone for content_hint[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for content_hint[src]

impl Debug for content_hint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]