Struct x11rb::protocol::xinput::TouchBeginEvent [−][src]
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
sourceid: DeviceId
flags: u32
mods: ModifierInfo
group: GroupInfo
valuator_mask: Vec<u32>
axisvalues: Vec<Fp3232>
Implementations
impl TouchBeginEvent
[src]
pub fn buttons_len(&self) -> u16
[src]
Get the value of the buttons_len
field.
The buttons_len
field is used as the length field of the button_mask
field.
This function computes the field’s value again based on the length of the list.
Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
pub fn valuators_len(&self) -> u16
[src]
Get the value of the valuators_len
field.
The valuators_len
field is used as the length field of the valuator_mask
field.
This function computes the field’s value again based on the length of the list.
Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Trait Implementations
impl Clone for TouchBeginEvent
[src]
fn clone(&self) -> TouchBeginEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TouchBeginEvent
[src]
impl Eq for TouchBeginEvent
[src]
impl PartialEq<TouchBeginEvent> for TouchBeginEvent
[src]
fn eq(&self, other: &TouchBeginEvent) -> bool
[src]
fn ne(&self, other: &TouchBeginEvent) -> bool
[src]
impl StructuralEq for TouchBeginEvent
[src]
impl StructuralPartialEq for TouchBeginEvent
[src]
impl TryParse for TouchBeginEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for TouchBeginEvent
impl Send for TouchBeginEvent
impl Sync for TouchBeginEvent
impl Unpin for TouchBeginEvent
impl UnwindSafe for TouchBeginEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> TryParseFd for T where
T: TryParse,
[src]
T: TryParse,
pub fn try_parse_fd(
&'a [u8],
&mut Vec<RawFdContainer, Global>
) -> Result<(T, &'a [u8]), ParseError>
[src]
&'a [u8],
&mut Vec<RawFdContainer, Global>
) -> Result<(T, &'a [u8]), ParseError>