1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
use rute_ffi_base::*;
#[allow(unused_imports)]
use auto::object_ffi::*;
#[allow(unused_imports)]
use std::os::raw::c_void;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUMimeDataFuncs {
pub destroy: extern "C" fn(self_c: *const RUBase),
pub has_urls: extern "C" fn(self_c: *const RUBase) -> bool,
pub text: extern "C" fn(self_c: *const RUBase) -> *const ::std::os::raw::c_char,
pub set_text: extern "C" fn(self_c: *const RUBase, text: *const ::std::os::raw::c_char),
pub has_text: extern "C" fn(self_c: *const RUBase) -> bool,
pub html: extern "C" fn(self_c: *const RUBase) -> *const ::std::os::raw::c_char,
pub set_html: extern "C" fn(self_c: *const RUBase, html: *const ::std::os::raw::c_char),
pub has_html: extern "C" fn(self_c: *const RUBase) -> bool,
pub has_image: extern "C" fn(self_c: *const RUBase) -> bool,
pub has_color: extern "C" fn(self_c: *const RUBase) -> bool,
pub remove_format:
extern "C" fn(self_c: *const RUBase, mimetype: *const ::std::os::raw::c_char),
pub has_format:
extern "C" fn(self_c: *const RUBase, mimetype: *const ::std::os::raw::c_char) -> bool,
pub clear: extern "C" fn(self_c: *const RUBase),
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUMimeDataAllFuncs {
pub object_funcs: *const RUObjectFuncs,
pub mime_data_funcs: *const RUMimeDataFuncs,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUMimeData {
pub qt_data: *const RUBase,
pub host_data: *const RUBase,
pub all_funcs: *const RUMimeDataAllFuncs,
}