pub enum Key {
G(u8),
M(u8),
MR,
Backlight,
}Expand description
A specific key on the G11
Variants§
G(u8)
G keys, numbered 1 ..= 18
(the macro keys themselves)
M(u8)
M key, numbered 1 ..= 3
(for switching between macro sets)
MR
Macro Record key
Backlight
Main keyboard backlight key (unrelated to macro keys but runs on the same interface)
Trait Implementations§
impl Copy for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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