pub fn offer(&self, mime_type: String,) {
        let mime_type = CString::new(mime_type).unwrap_or_else(|_| panic!("Got a String with interior null."));
        unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal, self.ptr(), WL_DATA_SOURCE_OFFER
           , mime_type.as_ptr()) };
    }
/// add an offered mime type
///
/// This request adds a mime type to the set of mime types
/// advertised to targets.  Can be called several times to offer
/// multiple types.
add an offered mime type
This request adds a mime type to the set of mime types
advertised to targets.  Can be called several times to offer
multiple types.
add an offered mime type This request adds a mime type to the set of mime types advertised to targets . Can be called several times to offer multiple types .
pub fn offer(&self, mime_type: String,) {
        let mime_type = CString::new(mime_type).unwrap_or_else(|_| panic!("Got a String with interior null."));
        unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal, self.ptr(), WL_DATA_SOURCE_OFFER
           , mime_type.as_ptr()) };
    }
pub fn offer ( & self , mime_type : String , ) { let mime_type = CString :: new ( mime_type ) . unwrap_or_else ( | _ | panic ! ( " " ) ) ; unsafe { ffi_dispatch ! ( WAYLAND_CLIENT_HANDLE wl_proxy_marshal self ptr ( ) WL_DATA_SOURCE_OFFER mime_type as_ptr ( ) ) } ; }
add an offered mime type
This request adds a mime type to the set of mime types
advertised to targets.
add an offered mime type This request adds a mime type to the set of mime types advertised to targets .
&self
mime_type
String
&self
mime_type
String