pub struct Report {
pub modifiers: u8,
pub keys: [u8; 6],
}Expand description
One boot-protocol keyboard report.
Fields§
§modifiers: u8Modifier bitmap, see modifier.
keys: [u8; 6]Usage codes of the pressed keys, zero for unused slots.
Implementations§
Trait Implementations§
impl Copy for Report
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Report
impl Move for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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