/// accept one of the offered mime types
///
/// Indicate that the client can accept the given mime type, or
/// NULL for not accepted.
///
/// Used for feedback during drag-and-drop.
accept one of the offered mime types
Indicate that the client can accept the given mime type, or
NULL for not accepted.

Used for feedback during drag-and-drop.
accept one of the offered mime types Indicate that the client can accept the given mime type or NULL for not accepted . Used for feedback during drag - and - drop .
pub fn accept(&self, serial: u32, mime_type: Option<String>,) {
        let mime_type = mime_type.map(|t| CString::new(t).unwrap_or_else(|_| panic!("Got a String with interior null.")));
        unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal, self.ptr(), WL_DATA_OFFER_ACCEPT
           , serial, mime_type.map(|s| s.as_ptr()).unwrap_or(ptr::null())) };
    }
pub fn accept ( & self , serial : u32 , mime_type : Option < String > , ) { let mime_type = mime_type . map ( | t | CString :: new ( t ) . unwrap_or_else ( | _ | panic ! ( " " ) ) ) ; unsafe { ffi_dispatch ! ( WAYLAND_CLIENT_HANDLE wl_proxy_marshal self ptr ( ) WL_DATA_OFFER_ACCEPT serial mime_type map ( s s as_ptr ( ) ) unwrap_or ( ptr null ( ) ) ) } ; }
accept one of the offered mime types
Indicate that the client can accept the given mime type, or
NULL for not accepted.
accept one of the offered mime types Indicate that the client can accept the given mime type or NULL for not accepted .
&self
serial
u32
mime_type
Option<String>