pub trait InputDev: Dev {
const IN_LEN: u8;
// Required methods
fn poll(&mut self) -> bool;
fn input(&self) -> &[u8] ⓘ;
}Expand description
HID that generates input reports.
Required Associated Constants§
Sourceconst IN_LEN: u8
const IN_LEN: u8
Length of the slice returned by Self::input().
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".