enum NumericButton {
Zero,
One,
Two,
Three,
Four,
Five,
Six,
Seven,
Eight,
Nine,
}
Expand description
The input buttons on pad for entering numeric door unlock codes
Variants§
Trait Implementations§
source§impl Clone for NumericButton
impl Clone for NumericButton
source§fn clone(&self) -> NumericButton
fn clone(&self) -> NumericButton
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 NumericButton
impl Debug for NumericButton
source§impl Hash for NumericButton
impl Hash for NumericButton
source§impl Keys<NumericButton> for NumericButton
impl Keys<NumericButton> for NumericButton
source§fn coordinate(key: KeyPadButton<NumericButton>) -> (u8, u8)
fn coordinate(key: KeyPadButton<NumericButton>) -> (u8, u8)
What is the coordinate of a given button
source§impl PartialEq for NumericButton
impl PartialEq for NumericButton
source§impl TryFrom<char> for NumericButton
impl TryFrom<char> for NumericButton
impl Copy for NumericButton
impl Eq for NumericButton
impl StructuralPartialEq for NumericButton
Auto Trait Implementations§
impl Freeze for NumericButton
impl RefUnwindSafe for NumericButton
impl Send for NumericButton
impl Sync for NumericButton
impl Unpin for NumericButton
impl UnwindSafe for NumericButton
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.