pub enum TextObfuscationMode {
Visible,
RevealLastTyped,
Hidden,
System,
}Expand description
Determines how text is obfuscated in a secure text field.
Corresponds to Compose’s TextObfuscationMode.
Variants§
Visible
Text is visible, no obfuscation.
RevealLastTyped
Reveal the last typed character briefly, then hide.
Hidden
All characters are obfuscated.
System
Uses the platform’s default obfuscation behavior.
Trait Implementations§
Source§impl Clone for TextObfuscationMode
impl Clone for TextObfuscationMode
Source§fn clone(&self) -> TextObfuscationMode
fn clone(&self) -> TextObfuscationMode
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 TextObfuscationMode
Source§impl Debug for TextObfuscationMode
impl Debug for TextObfuscationMode
Source§impl Default for TextObfuscationMode
impl Default for TextObfuscationMode
Source§fn default() -> TextObfuscationMode
fn default() -> TextObfuscationMode
Returns the “default value” for a type. Read more
impl Eq for TextObfuscationMode
Source§impl PartialEq for TextObfuscationMode
impl PartialEq for TextObfuscationMode
Source§fn eq(&self, other: &TextObfuscationMode) -> bool
fn eq(&self, other: &TextObfuscationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.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