pub enum TextObfuscationMode {
RevealLastTyped,
Hidden,
Visible,
}Expand description
How a secure field hides its text: Compose’s TextObfuscationMode.
Variants§
RevealLastTyped
Every character hidden, but the last one typed shows for a moment.
Hidden
Every character hidden.
Visible
The text shown as it is, for a “show password” toggle.
Trait Implementations§
Source§impl Clone for TextObfuscationMode
impl Clone for TextObfuscationMode
impl Copy for TextObfuscationMode
Source§impl Debug for TextObfuscationMode
impl Debug for TextObfuscationMode
Source§impl Default for TextObfuscationMode
impl Default for TextObfuscationMode
impl Eq for TextObfuscationMode
Source§impl Hash for TextObfuscationMode
impl Hash for TextObfuscationMode
Source§impl PartialEq for TextObfuscationMode
impl PartialEq for TextObfuscationMode
impl StructuralPartialEq for TextObfuscationMode
Auto Trait Implementations§
impl Freeze for TextObfuscationMode
impl RefUnwindSafe for TextObfuscationMode
impl Send for TextObfuscationMode
impl Sync for TextObfuscationMode
impl Unpin for TextObfuscationMode
impl UnsafeUnpin for TextObfuscationMode
impl UnwindSafe for TextObfuscationMode
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more