pub struct MatrixTestKey {
pub row: u8,
pub col: u8,
pub expected_hid_usage: u8,
}Expand description
A matrix cell under test and the HID usage it should produce.
Fields§
§row: u8Matrix row index.
col: u8Matrix column index.
expected_hid_usage: u8Expected HID usage ID (0 = no output expected).
Trait Implementations§
Source§impl Clone for MatrixTestKey
impl Clone for MatrixTestKey
Auto Trait Implementations§
impl Freeze for MatrixTestKey
impl RefUnwindSafe for MatrixTestKey
impl Send for MatrixTestKey
impl Sync for MatrixTestKey
impl Unpin for MatrixTestKey
impl UnsafeUnpin for MatrixTestKey
impl UnwindSafe for MatrixTestKey
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