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<'de> Deserialize<'de> for BarrierHitEvent
impl<'de> Deserialize<'de> for BarrierHitEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for BarrierHitEvent
impl Hash for BarrierHitEvent
source§impl Ord for BarrierHitEvent
impl Ord for BarrierHitEvent
source§fn cmp(&self, other: &BarrierHitEvent) -> Ordering
fn cmp(&self, other: &BarrierHitEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BarrierHitEvent
impl PartialEq for BarrierHitEvent
source§fn eq(&self, other: &BarrierHitEvent) -> bool
fn eq(&self, other: &BarrierHitEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BarrierHitEvent
impl PartialOrd for BarrierHitEvent
source§fn partial_cmp(&self, other: &BarrierHitEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &BarrierHitEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for BarrierHitEvent
impl Serialize for BarrierHitEvent
source§impl Serialize for BarrierHitEvent
impl Serialize for BarrierHitEvent
source§impl TryParse for BarrierHitEvent
impl TryParse for BarrierHitEvent
impl Copy for BarrierHitEvent
impl Eq for BarrierHitEvent
impl StructuralPartialEq for BarrierHitEvent
Auto Trait Implementations§
impl Freeze for BarrierHitEvent
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<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more