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

#[repr(C)]
pub struct wl_data_source_listener {
    pub target: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source, mime_type: *const c_char)>,
    pub send: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source, mime_type: *const c_char, fd: i32)>,
    pub cancelled: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source)>,
    pub dnd_drop_performed: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source)>,
    pub dnd_finished: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source)>,
    pub action: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source, dnd_action: u32)>,
}

Fields

target: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source, mime_type: *const c_char)>send: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source, mime_type: *const c_char, fd: i32)>cancelled: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source)>dnd_drop_performed: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source)>dnd_finished: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source)>action: Option<unsafe extern "C" fn(data: *mut c_void, wl_data_source: *mut wl_data_source, dnd_action: u32)>

Trait Implementations

impl Clone for wl_data_source_listener[src]

impl Copy for wl_data_source_listener[src]

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