Type Alias KeyReleaseEvent
pub type KeyReleaseEvent = KeyPressEvent;
Aliased Type§
struct KeyReleaseEvent {}
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
Trait Implementations
§impl Clone for KeyPressEvent
impl Clone for KeyPressEvent
§fn clone(&self) -> KeyPressEvent
fn clone(&self) -> KeyPressEvent
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 more§impl Debug for KeyPressEvent
impl Debug for KeyPressEvent
§impl Default for KeyPressEvent
impl Default for KeyPressEvent
§fn default() -> KeyPressEvent
fn default() -> KeyPressEvent
Returns the “default value” for a type. Read more
§impl Serialize for KeyPressEvent
impl Serialize for KeyPressEvent
§impl TryParse for KeyPressEvent
impl TryParse for KeyPressEvent
§fn try_parse(initial_value: &[u8]) -> Result<(KeyPressEvent, &[u8]), ParseError>
fn try_parse(initial_value: &[u8]) -> Result<(KeyPressEvent, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more