pub enum PasswordDisplayMode {
Hidden,
Masked,
Full,
}
Expand description
Display modes of the text input of a password prompt.
Variants
Hidden
Password text input is not rendered at all, no indication of input.
Masked
Characters of the password text input are rendered marked as different characters, such as asterisks. These characters are configured in the render config.
Full
Password text input is fully rendered as a normal input, just like Text prompts.
Trait Implementations
sourceimpl Clone for PasswordDisplayMode
impl Clone for PasswordDisplayMode
sourcefn clone(&self) -> PasswordDisplayMode
fn clone(&self) -> PasswordDisplayMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PasswordDisplayMode
impl Debug for PasswordDisplayMode
impl Copy for PasswordDisplayMode
impl StructuralPartialEq for PasswordDisplayMode
Auto Trait Implementations
impl RefUnwindSafe for PasswordDisplayMode
impl Send for PasswordDisplayMode
impl Sync for PasswordDisplayMode
impl Unpin for PasswordDisplayMode
impl UnwindSafe for PasswordDisplayMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more