Struct x11rb_protocol::protocol::xinput::BarrierHitEvent
source · pub struct BarrierHitEvent {Show 18 fields
pub response_type: u8,
pub extension: u8,
pub sequence: u16,
pub length: u32,
pub event_type: u16,
pub deviceid: DeviceId,
pub time: Timestamp,
pub eventid: u32,
pub root: Window,
pub event: Window,
pub barrier: Barrier,
pub dtime: u32,
pub flags: BarrierFlags,
pub sourceid: DeviceId,
pub root_x: Fp1616,
pub root_y: Fp1616,
pub dx: Fp3232,
pub dy: Fp3232,
}
Fields§
§response_type: u8
§extension: u8
§sequence: u16
§length: u32
§event_type: u16
§deviceid: DeviceId
§time: Timestamp
§eventid: u32
§root: Window
§event: Window
§barrier: Barrier
§dtime: u32
§flags: BarrierFlags
§sourceid: DeviceId
§root_x: Fp1616
§root_y: Fp1616
§dx: Fp3232
§dy: Fp3232
Trait Implementations§
source§impl Clone for BarrierHitEvent
impl Clone for BarrierHitEvent
source§fn clone(&self) -> BarrierHitEvent
fn clone(&self) -> BarrierHitEvent
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 BarrierHitEvent
impl Debug for BarrierHitEvent
source§impl Default for BarrierHitEvent
impl Default for BarrierHitEvent
source§fn default() -> BarrierHitEvent
fn default() -> BarrierHitEvent
Returns the “default value” for a type. Read more
source§impl Serialize for BarrierHitEvent
impl Serialize for BarrierHitEvent
source§impl TryParse for BarrierHitEvent
impl TryParse for BarrierHitEvent
impl Copy for BarrierHitEvent
Auto Trait Implementations§
impl RefUnwindSafe for BarrierHitEvent
impl Send for BarrierHitEvent
impl Sync for BarrierHitEvent
impl Unpin for BarrierHitEvent
impl UnwindSafe for BarrierHitEvent
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
source§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more