Enum screenruster_saver::Password [] [src]

pub enum Password {
    Insert,
    Delete,
    Reset,
    Check,
    Success,
    Failure,
}

Represents the state of the password.

This is used to let the saver show a dialog or different animations based on the input, without actually knowing what the input is.

Variants

Insert

A character has been inserted.

Delete

A character has been deleted.

Reset

The field has been reset.

Check

The password is being checked.

Success

The authentication was successful.

Failure

The authentication failed.

Trait Implementations

impl Debug for Password
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Password
[src]

fn clone(&self) -> Password

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Password
[src]

impl PartialEq for Password
[src]

fn eq(&self, __arg_0: &Password) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Eq for Password
[src]