Enum glyph_ui::view::input_line::Echo[][src]

pub enum Echo {
    On,
    Faux(char),
    Off,
}

Controls how the input line view echoes text

Variants

On

Normal text input

This displays the text entered by the user as-is.

Faux(char)

Secret text input; less secure but more intuitive

This mode echoes one character repeatedly (* is the most common choice), so it's possible to see the length of the secret. However, this is less likely to cause the user to think that their keyboard has suddenly stopped working.

Off

Secret text input; more secure but less intuitive

This mode echoes no input at all, a side effect of which is that it's impossible to tell the length of the password by looking at the screen.

Trait Implementations

impl Default for Echo[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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<V> ViewExt for V[src]

impl<'a, T, M, V> ViewExt<'a, T, M> for V[src]

impl<'a, T, O, M, F, V> ViewExt<'a, T, O, M, F> for V where
    F: Fn(O) -> M + Clone + 'static,
    M: 'static,
    O: 'static, 
[src]

impl<V> ViewExt for V[src]

impl<V> ViewExt for V[src]

impl<V> ViewExt for V[src]