#[repr(u8)]pub enum KeyresetKey2 {
_RESERVED_0 = 0,
_RESERVED_1 = 1,
RESET = 2,
_RESERVED_3 = 3,
}Variants§
_RESERVED_0 = 0
_RESERVED_1 = 1
RESET = 2
Reset KEY2 Hold register and SHIFT_STATUS[KEY2].
_RESERVED_3 = 3
Implementations§
Source§impl KeyresetKey2
impl KeyresetKey2
Trait Implementations§
Source§impl Clone for KeyresetKey2
impl Clone for KeyresetKey2
Source§fn clone(&self) -> KeyresetKey2
fn clone(&self) -> KeyresetKey2
Returns a duplicate 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 KeyresetKey2
impl Debug for KeyresetKey2
Source§impl From<KeyresetKey2> for u8
impl From<KeyresetKey2> for u8
Source§fn from(val: KeyresetKey2) -> u8
fn from(val: KeyresetKey2) -> u8
Converts to this type from the input type.
Source§impl From<u8> for KeyresetKey2
impl From<u8> for KeyresetKey2
Source§fn from(val: u8) -> KeyresetKey2
fn from(val: u8) -> KeyresetKey2
Converts to this type from the input type.
Source§impl Ord for KeyresetKey2
impl Ord for KeyresetKey2
Source§fn cmp(&self, other: &KeyresetKey2) -> Ordering
fn cmp(&self, other: &KeyresetKey2) -> 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 for KeyresetKey2
impl PartialEq for KeyresetKey2
Source§impl PartialOrd for KeyresetKey2
impl PartialOrd for KeyresetKey2
impl Copy for KeyresetKey2
impl Eq for KeyresetKey2
impl StructuralPartialEq for KeyresetKey2
Auto Trait Implementations§
impl Freeze for KeyresetKey2
impl RefUnwindSafe for KeyresetKey2
impl Send for KeyresetKey2
impl Sync for KeyresetKey2
impl Unpin for KeyresetKey2
impl UnwindSafe for KeyresetKey2
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