pub type DeviceButtonPressEvent = DeviceKeyPressEvent;
Aliased Type§
struct DeviceButtonPressEvent {}
Fields§
§response_type: u8
§detail: u8
§sequence: u16
§time: u32
§root: u32
§event: u32
§child: u32
§root_x: i16
§root_y: i16
§event_x: i16
§event_y: i16
§state: KeyButMask
§same_screen: bool
§device_id: u8
Trait Implementations
Source§impl Clone for DeviceKeyPressEvent
impl Clone for DeviceKeyPressEvent
Source§fn clone(&self) -> DeviceKeyPressEvent
fn clone(&self) -> DeviceKeyPressEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeviceKeyPressEvent
impl Debug for DeviceKeyPressEvent
Source§impl Default for DeviceKeyPressEvent
impl Default for DeviceKeyPressEvent
Source§fn default() -> DeviceKeyPressEvent
fn default() -> DeviceKeyPressEvent
Returns the “default value” for a type. Read more
Source§impl Serialize for DeviceKeyPressEvent
impl Serialize for DeviceKeyPressEvent
Source§impl TryParse for DeviceKeyPressEvent
impl TryParse for DeviceKeyPressEvent
Source§fn try_parse(
initial_value: &[u8],
) -> Result<(DeviceKeyPressEvent, &[u8]), ParseError>
fn try_parse( initial_value: &[u8], ) -> Result<(DeviceKeyPressEvent, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more