pub enum InputEvent {
Create(CreateParams),
Destroy,
Input {
data: ArrayVec<[u8; 4096]>,
},
GetReportReply {
id: u32,
err: u16,
data: ArrayVec<[u8; 4096]>,
},
SetReportReply {
id: u32,
err: u16,
},
}
Expand description
See https://www.kernel.org/doc/html/latest/hid/uhid.html#write
Variants§
Trait Implementations§
Source§impl Into<uhid_event> for InputEvent
impl Into<uhid_event> for InputEvent
Source§fn into(self) -> uhid_event
fn into(self) -> uhid_event
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for InputEvent
impl RefUnwindSafe for InputEvent
impl Send for InputEvent
impl Sync for InputEvent
impl Unpin for InputEvent
impl UnwindSafe for InputEvent
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