pub enum InputReport {
Show 15 variants
CursorPosition(u16, u16),
CursorPositionPage(u16, u16, u16),
DeviceStatus(bool, u16),
DeviceStatus2(bool, u16, u16),
DeviceAttributes1(u8, u32),
DeviceAttributes2(u16, u16, u8),
ReportMode(bool, u16, u8),
ReportWindowState(bool),
ReportWindowPosition(u16, u16),
ReportWindowSizePixel(u16, u16),
ReportTextSizeCharacter(u16, u16),
ReportScreenSizeCharacter(u16, u16),
ReportDynamicColor(u8, u16, u16, u16),
FocusIn,
FocusOut,
}Expand description
Common input reports.
Variants§
CursorPosition(u16, u16)
CursorPositionPage(u16, u16, u16)
DeviceStatus(bool, u16)
DeviceStatus2(bool, u16, u16)
DeviceAttributes1(u8, u32)
DeviceAttributes2(u16, u16, u8)
ReportMode(bool, u16, u8)
ReportWindowState(bool)
ReportWindowPosition(u16, u16)
ReportWindowSizePixel(u16, u16)
ReportTextSizeCharacter(u16, u16)
ReportScreenSizeCharacter(u16, u16)
ReportDynamicColor(u8, u16, u16, u16)
FocusIn
FocusOut
Trait Implementations§
Source§impl Clone for InputReport
impl Clone for InputReport
Source§impl Debug for InputReport
impl Debug for InputReport
impl Eq for InputReport
Source§impl PartialEq for InputReport
impl PartialEq for InputReport
impl StructuralPartialEq for InputReport
Auto Trait Implementations§
impl Freeze for InputReport
impl RefUnwindSafe for InputReport
impl Send for InputReport
impl Sync for InputReport
impl Unpin for InputReport
impl UnsafeUnpin for InputReport
impl UnwindSafe for InputReport
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