#[repr(u8)]pub enum ZmkHwp {
SW_PROG_MODE = 0,
HW_PROG_MODE = 1,
}Variants§
SW_PROG_MODE = 0
ZMK is in the software programming mode.
HW_PROG_MODE = 1
ZMK is in the hardware programming mode.
Implementations§
Trait Implementations§
Source§impl Ord for ZmkHwp
impl Ord for ZmkHwp
Source§impl PartialOrd for ZmkHwp
impl PartialOrd for ZmkHwp
impl Copy for ZmkHwp
impl Eq for ZmkHwp
impl StructuralPartialEq for ZmkHwp
Auto Trait Implementations§
impl Freeze for ZmkHwp
impl RefUnwindSafe for ZmkHwp
impl Send for ZmkHwp
impl Sync for ZmkHwp
impl Unpin for ZmkHwp
impl UnwindSafe for ZmkHwp
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