[][src]Struct simply_wayland::wl::core::wl_touch_listener

#[repr(C)]
pub struct wl_touch_listener {
    pub down: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, serial: u32, time: u32, surface: *mut wl_surface, id: i32, x: wl_fixed_t, y: wl_fixed_t)>,
    pub up: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, serial: u32, time: u32, id: i32)>,
    pub motion: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, time: u32, id: i32, x: wl_fixed_t, y: wl_fixed_t)>,
    pub frame: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch)>,
    pub cancel: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch)>,
    pub shape: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, id: i32, major: wl_fixed_t, minor: wl_fixed_t)>,
    pub orientation: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, id: i32, orientation: wl_fixed_t)>,
}

Fields

down: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, serial: u32, time: u32, surface: *mut wl_surface, id: i32, x: wl_fixed_t, y: wl_fixed_t)>up: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, serial: u32, time: u32, id: i32)>motion: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, time: u32, id: i32, x: wl_fixed_t, y: wl_fixed_t)>frame: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch)>cancel: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch)>shape: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, id: i32, major: wl_fixed_t, minor: wl_fixed_t)>orientation: Option<unsafe extern "C" fn(data: *mut c_void, wl_touch: *mut wl_touch, id: i32, orientation: wl_fixed_t)>

Trait Implementations

impl Clone for wl_touch_listener[src]

impl Copy for wl_touch_listener[src]

impl Debug for wl_touch_listener[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.