pub fn create_data_source(&self,) -> WlDataSource {
        let ptr = unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal_constructor, self.ptr(), WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE, &wl_data_source_interface as *const wl_interface
           , ptr::null_mut::<wl_proxy>()) };
        let mut proxy: WlDataSource = unsafe { Proxy::from_ptr(ptr) };
        let evt_iter = eventiter_from_internals(self.evq.clone());
        proxy.set_evt_iterator(&evt_iter);
        ::std::mem::forget(evt_iter); // Don't run the destructor !
        proxy
    }
/// create a new data source
///
/// Create a new data source.
create a new data source
Create a new data source.
create a new data source Create a new data source .
pub fn create_data_source(&self,) -> WlDataSource {
        let ptr = unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal_constructor, self.ptr(), WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE, &wl_data_source_interface as *const wl_interface
           , ptr::null_mut::<wl_proxy>()) };
        let mut proxy: WlDataSource = unsafe { Proxy::from_ptr(ptr) };
        let evt_iter = eventiter_from_internals(self.evq.clone());
        proxy.set_evt_iterator(&evt_iter);
        ::std::mem::forget(evt_iter); // Don't run the destructor !
        proxy
    }
pub fn create_data_source ( & self , ) -> WlDataSource { let ptr = unsafe { ffi_dispatch ! ( WAYLAND_CLIENT_HANDLE wl_proxy_marshal_constructor self ptr ( ) WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE wl_data_source_interface as const wl_interface ptr null_mut wl_proxy ( ) ) } ; let mut proxy : WlDataSource = unsafe { Proxy :: from_ptr ( ptr ) } ; let evt_iter = eventiter_from_internals ( self . evq . clone ( ) ) ; proxy . set_evt_iterator ( & evt_iter ) ; :: std :: mem :: forget ( evt_iter ) ; // Don't run the destructor ! proxy }
create a new data source
Create a new data source.
create a new data source Create a new data source .
&self
&self