pub enum EchoMode {
EchoNormal,
EchoPassword,
EchoNone,
}Expand description
EchoMode sets the input behavior of the text input field.
Variants§
EchoNormal
EchoNormal displays text as is. This is the default behavior.
EchoPassword
EchoPassword displays the EchoCharacter mask instead of actual characters. This is commonly used for password fields.
EchoNone
EchoNone displays nothing as characters are entered. This is commonly seen for password fields on the command line.
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 UnsafeUnpin 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