x11rb::protocol::xinput

Type Alias BarrierLeaveEvent

Source
pub type BarrierLeaveEvent = BarrierHitEvent;

Aliased Type§

struct BarrierLeaveEvent {
Show 18 fields pub response_type: u8, pub extension: u8, pub sequence: u16, pub length: u32, pub event_type: u16, pub deviceid: u16, pub time: u32, pub eventid: u32, pub root: u32, pub event: u32, pub barrier: u32, pub dtime: u32, pub flags: BarrierFlags, pub sourceid: u16, pub root_x: i32, pub root_y: i32, pub dx: Fp3232, pub dy: Fp3232,
}

Fields§

§response_type: u8§extension: u8§sequence: u16§length: u32§event_type: u16§deviceid: u16§time: u32§eventid: u32§root: u32§event: u32§barrier: u32§dtime: u32§flags: BarrierFlags§sourceid: u16§root_x: i32§root_y: i32§dx: Fp3232§dy: Fp3232

Trait Implementations

Source§

impl Clone for BarrierHitEvent

Source§

fn clone(&self) -> BarrierHitEvent

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BarrierHitEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for BarrierHitEvent

Source§

fn default() -> BarrierHitEvent

Returns the “default value” for a type. Read more
Source§

impl Serialize for BarrierHitEvent

Source§

type Bytes = [u8; 68]

The value returned by serialize. Read more
Source§

fn serialize(&self) -> [u8; 68]

Serialize this value into X11 raw bytes.
Source§

fn serialize_into(&self, bytes: &mut Vec<u8>)

Serialize this value into X11 raw bytes, appending the result into bytes. Read more
Source§

impl TryParse for BarrierHitEvent

Source§

fn try_parse( initial_value: &[u8], ) -> Result<(BarrierHitEvent, &[u8]), ParseError>

Try to parse the given values into an instance of this type. Read more
Source§

impl Copy for BarrierHitEvent