Enum lock_keys::LockKeyState
source · pub enum LockKeyState {
Enabled,
Disabled,
}
Variants§
Implementations§
source§impl LockKeyState
impl LockKeyState
Trait Implementations§
source§impl Clone for LockKeyState
impl Clone for LockKeyState
source§fn clone(&self) -> LockKeyState
fn clone(&self) -> LockKeyState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LockKeyState
impl Debug for LockKeyState
source§impl Display for LockKeyState
impl Display for LockKeyState
source§impl From<LockKeyState> for bool
impl From<LockKeyState> for bool
source§fn from(val: LockKeyState) -> Self
fn from(val: LockKeyState) -> Self
Converts to this type from the input type.
source§impl From<bool> for LockKeyState
impl From<bool> for LockKeyState
source§impl Hash for LockKeyState
impl Hash for LockKeyState
source§impl Ord for LockKeyState
impl Ord for LockKeyState
source§fn cmp(&self, other: &LockKeyState) -> Ordering
fn cmp(&self, other: &LockKeyState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<LockKeyState> for LockKeyState
impl PartialEq<LockKeyState> for LockKeyState
source§fn eq(&self, other: &LockKeyState) -> bool
fn eq(&self, other: &LockKeyState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LockKeyState> for LockKeyState
impl PartialOrd<LockKeyState> for LockKeyState
source§fn partial_cmp(&self, other: &LockKeyState) -> Option<Ordering>
fn partial_cmp(&self, other: &LockKeyState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more