Enum ctru::applets::swkbd::PasswordMode
source · #[repr(u8)]pub enum PasswordMode {
None = 0,
Hide = 1,
HideDelay = 2,
}
Expand description
Represents the password mode to conceal the input text for the SoftwareKeyboard
.
Can be set using SoftwareKeyboard::set_password_mode()
.
Variants§
None = 0
The input text will not be concealed.
Hide = 1
The input text will be concealed immediately after typing.
HideDelay = 2
The input text will be concealed a second after typing.
Trait Implementations§
source§impl Clone for PasswordMode
impl Clone for PasswordMode
source§fn clone(&self) -> PasswordMode
fn clone(&self) -> PasswordMode
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PasswordMode
impl Debug for PasswordMode
source§impl From<PasswordMode> for u32
impl From<PasswordMode> for u32
source§fn from(v: PasswordMode) -> Self
fn from(v: PasswordMode) -> Self
Converts to this type from the input type.
source§impl PartialEq for PasswordMode
impl PartialEq for PasswordMode
impl Copy for PasswordMode
impl Eq for PasswordMode
impl StructuralPartialEq for PasswordMode
Auto Trait Implementations§
impl RefUnwindSafe for PasswordMode
impl Send for PasswordMode
impl Sync for PasswordMode
impl Unpin for PasswordMode
impl UnwindSafe for PasswordMode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more