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
use rute_ffi_base::*;
#[allow(unused_imports)]
use auto::layout_item_ffi::*;
#[allow(unused_imports)]
use auto::size_ffi::RUSize;
#[allow(unused_imports)]
use auto::size_policy_ffi::RUSizePolicy;
#[allow(unused_imports)]
use std::os::raw::c_void;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUSpacerItemFuncs {
pub change_size: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, h_data: u32, v_data: u32),
pub size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub expanding_directions: extern "C" fn(self_c: *const RUBase) -> u32,
pub is_empty: extern "C" fn(self_c: *const RUBase) -> bool,
pub spacer_item: extern "C" fn(self_c: *const RUBase) -> RUSpacerItem,
pub size_policy: extern "C" fn(self_c: *const RUBase) -> RUSizePolicy,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUSpacerItemAllFuncs {
pub layout_item_funcs: *const RULayoutItemFuncs,
pub spacer_item_funcs: *const RUSpacerItemFuncs,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUSpacerItem {
pub qt_data: *const RUBase,
pub host_data: *const RUBase,
pub all_funcs: *const RUSpacerItemAllFuncs,
}