Struct x11rb_protocol::protocol::xinput::GesturePinchBeginEvent
source · pub struct GesturePinchBeginEvent {Show 25 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 detail: u32,
pub root: Window,
pub event: Window,
pub child: Window,
pub root_x: Fp1616,
pub root_y: Fp1616,
pub event_x: Fp1616,
pub event_y: Fp1616,
pub delta_x: Fp1616,
pub delta_y: Fp1616,
pub delta_unaccel_x: Fp1616,
pub delta_unaccel_y: Fp1616,
pub scale: Fp1616,
pub delta_angle: Fp1616,
pub sourceid: DeviceId,
pub mods: ModifierInfo,
pub group: GroupInfo,
pub flags: GesturePinchEventFlags,
}
Fields§
§response_type: u8
§extension: u8
§sequence: u16
§length: u32
§event_type: u16
§deviceid: DeviceId
§time: Timestamp
§detail: u32
§root: Window
§event: Window
§child: Window
§root_x: Fp1616
§root_y: Fp1616
§event_x: Fp1616
§event_y: Fp1616
§delta_x: Fp1616
§delta_y: Fp1616
§delta_unaccel_x: Fp1616
§delta_unaccel_y: Fp1616
§scale: Fp1616
§delta_angle: Fp1616
§sourceid: DeviceId
§mods: ModifierInfo
§group: GroupInfo
§flags: GesturePinchEventFlags
Trait Implementations§
source§impl Clone for GesturePinchBeginEvent
impl Clone for GesturePinchBeginEvent
source§fn clone(&self) -> GesturePinchBeginEvent
fn clone(&self) -> GesturePinchBeginEvent
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 GesturePinchBeginEvent
impl Debug for GesturePinchBeginEvent
source§impl Default for GesturePinchBeginEvent
impl Default for GesturePinchBeginEvent
source§fn default() -> GesturePinchBeginEvent
fn default() -> GesturePinchBeginEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GesturePinchBeginEvent
impl<'de> Deserialize<'de> for GesturePinchBeginEvent
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 GesturePinchBeginEvent
impl Hash for GesturePinchBeginEvent
source§impl Ord for GesturePinchBeginEvent
impl Ord for GesturePinchBeginEvent
source§fn cmp(&self, other: &GesturePinchBeginEvent) -> Ordering
fn cmp(&self, other: &GesturePinchBeginEvent) -> 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 GesturePinchBeginEvent
impl PartialEq for GesturePinchBeginEvent
source§fn eq(&self, other: &GesturePinchBeginEvent) -> bool
fn eq(&self, other: &GesturePinchBeginEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GesturePinchBeginEvent
impl PartialOrd for GesturePinchBeginEvent
source§fn partial_cmp(&self, other: &GesturePinchBeginEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &GesturePinchBeginEvent) -> 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 GesturePinchBeginEvent
impl Serialize for GesturePinchBeginEvent
source§impl Serialize for GesturePinchBeginEvent
impl Serialize for GesturePinchBeginEvent
source§impl TryParse for GesturePinchBeginEvent
impl TryParse for GesturePinchBeginEvent
impl Copy for GesturePinchBeginEvent
impl Eq for GesturePinchBeginEvent
impl StructuralPartialEq for GesturePinchBeginEvent
Auto Trait Implementations§
impl Freeze for GesturePinchBeginEvent
impl RefUnwindSafe for GesturePinchBeginEvent
impl Send for GesturePinchBeginEvent
impl Sync for GesturePinchBeginEvent
impl Unpin for GesturePinchBeginEvent
impl UnwindSafe for GesturePinchBeginEvent
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