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

#[repr(C)]
pub struct wl_pointer_listener {
    pub enter: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, serial: u32, surface: *mut wl_surface, surface_x: wl_fixed_t, surface_y: wl_fixed_t)>,
    pub leave: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, serial: u32, surface: *mut wl_surface)>,
    pub motion: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, time: u32, surface_x: wl_fixed_t, surface_y: wl_fixed_t)>,
    pub button: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, serial: u32, time: u32, button: u32, state: u32)>,
    pub axis: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, time: u32, axis: u32, value: wl_fixed_t)>,
    pub frame: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer)>,
    pub axis_source: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, axis_source: u32)>,
    pub axis_stop: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, time: u32, axis: u32)>,
    pub axis_discrete: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, axis: u32, discrete: i32)>,
}

Fields

enter: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, serial: u32, surface: *mut wl_surface, surface_x: wl_fixed_t, surface_y: wl_fixed_t)>leave: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, serial: u32, surface: *mut wl_surface)>motion: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, time: u32, surface_x: wl_fixed_t, surface_y: wl_fixed_t)>button: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, serial: u32, time: u32, button: u32, state: u32)>axis: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, time: u32, axis: u32, value: wl_fixed_t)>frame: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer)>axis_source: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, axis_source: u32)>axis_stop: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, time: u32, axis: u32)>axis_discrete: Option<unsafe extern "C" fn(data: *mut c_void, wl_pointer: *mut wl_pointer, axis: u32, discrete: i32)>

Trait Implementations

impl Clone for wl_pointer_listener[src]

impl Copy for wl_pointer_listener[src]

impl Debug for wl_pointer_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.