pub enum EchoMode {
Normal,
Password,
None,
}Expand description
Echo mode for the text input.
Variants§
Normal
Display text as-is (default).
Password
Display echo character instead of actual text (for passwords).
None
Display nothing (hidden input).
Trait Implementations§
impl Copy for EchoMode
impl Eq for EchoMode
impl StructuralPartialEq for EchoMode
Auto Trait Implementations§
impl Freeze for EchoMode
impl RefUnwindSafe for EchoMode
impl Send for EchoMode
impl Sync for EchoMode
impl Unpin for EchoMode
impl UnwindSafe for EchoMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.