#[non_exhaustive]pub enum PasswordRevealMode {
Peek,
Hidden,
Visible,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PasswordRevealMode
impl Clone for PasswordRevealMode
Source§fn clone(&self) -> PasswordRevealMode
fn clone(&self) -> PasswordRevealMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PasswordRevealMode
Source§impl Debug for PasswordRevealMode
impl Debug for PasswordRevealMode
impl Eq for PasswordRevealMode
Source§impl PartialEq for PasswordRevealMode
impl PartialEq for PasswordRevealMode
impl StructuralPartialEq for PasswordRevealMode
Auto Trait Implementations§
impl Freeze for PasswordRevealMode
impl RefUnwindSafe for PasswordRevealMode
impl Send for PasswordRevealMode
impl Sync for PasswordRevealMode
impl Unpin for PasswordRevealMode
impl UnsafeUnpin for PasswordRevealMode
impl UnwindSafe for PasswordRevealMode
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