pub enum InputEvent {
Create {
name: String,
phys: String,
uniq: String,
bus: Bus,
vendor: u32,
product: u32,
version: u32,
country: u32,
data: Vec<u8>,
},
Destroy,
Input {
data: Vec<u8>,
},
GetReportReply {
id: u32,
err: u16,
data: Vec<u8>,
},
SetReportReply {
id: u32,
err: u16,
},
}Variants§
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