[][src]Struct qt_widgets::q_line_edit::EchoMode

#[repr(transparent)]
pub struct EchoMode(_);

This enum type describes how a line edit should display its contents.

C++ enum: QLineEdit::EchoMode.

C++ documentation:

This enum type describes how a line edit should display its contents.

See also setEchoMode() and echoMode().

Methods

impl EchoMode[src]

pub fn to_int(&self) -> c_int[src]

impl EchoMode[src]

pub const Normal: EchoMode[src]

Display characters as they are entered. This is the default. (C++ enum variant: Normal = 0)

pub const NoEcho: EchoMode[src]

Do not display anything. This may be appropriate for passwords where even the length of the password should be kept secret. (C++ enum variant: NoEcho = 1)

pub const Password: EchoMode[src]

Display platform-dependent password mask characters instead of the characters actually entered. (C++ enum variant: Password = 2)

pub const PasswordEchoOnEdit: EchoMode[src]

Display characters as they are entered while editing otherwise display characters as with Password. (C++ enum variant: PasswordEchoOnEdit = 3)

Trait Implementations

impl From<i32> for EchoMode[src]

impl From<EchoMode> for c_int[src]

impl Clone for EchoMode[src]

impl Copy for EchoMode[src]

impl Eq for EchoMode[src]

impl PartialEq<EchoMode> for EchoMode[src]

impl Debug for EchoMode[src]

impl StructuralPartialEq for EchoMode[src]

impl StructuralEq for EchoMode[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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]

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

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]