pub fn mime_data(&self) -> Option<MimeData> {
        let (obj_data, funcs) = self.get_drop_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).mime_data)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = MimeData::new_from_rc(t);
            } else {
                ret_val = MimeData::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
///
/// Returns the data that was dropped on the widget and its associated MIME
/// type information.
Returns the data that was dropped on the widget and its associated MIME
type information.
Returns the data that was dropped on the widget and its associated MIME type information .
pub fn mime_data(&self) -> Option<MimeData> {
        let (obj_data, funcs) = self.get_drop_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).mime_data)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = MimeData::new_from_rc(t);
            } else {
                ret_val = MimeData::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn mime_data ( & self ) -> Option < MimeData > { let ( obj_data , funcs ) = self . get_drop_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . mime_data ) ( obj_data ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = MimeData :: new_from_rc ( t ) ; } else { ret_val = MimeData :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Returns the data that was dropped on the widget and its associated MIME
type information.
Returns the data that was dropped on the widget and its associated MIME type information .
&self
&self