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

#[repr(C)]
pub struct wl_data_device_listener {
    pub data_offer: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device, id: *mut wl_data_offer)>,
    pub enter: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device, serial: u32, surface: *mut wl_surface, x: wl_fixed_t, y: wl_fixed_t, id: *mut wl_data_offer)>,
    pub leave: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device)>,
    pub motion: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device, time: u32, x: wl_fixed_t, y: wl_fixed_t)>,
    pub drop: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device)>,
    pub selection: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device, id: *mut wl_data_offer)>,
}

Fields

data_offer: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device, id: *mut wl_data_offer)>enter: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device, serial: u32, surface: *mut wl_surface, x: wl_fixed_t, y: wl_fixed_t, id: *mut wl_data_offer)>leave: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device)>motion: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device, time: u32, x: wl_fixed_t, y: wl_fixed_t)>drop: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device)>selection: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_device: *mut wl_data_device, id: *mut wl_data_offer)>

Trait Implementations

impl Clone for wl_data_device_listener[src]

impl Copy for wl_data_device_listener[src]

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