Struct rute::auto::object_ffi::RUObjectFuncs
source · #[repr(C)]pub struct RUObjectFuncs {Show 20 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub object_name: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_object_name: extern "C" fn(self_c: *const RUBase, name: *const c_char),
pub is_widget_type: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_window_type: extern "C" fn(self_c: *const RUBase) -> bool,
pub signals_blocked: extern "C" fn(self_c: *const RUBase) -> bool,
pub block_signals: extern "C" fn(self_c: *const RUBase, b: bool) -> bool,
pub start_timer: extern "C" fn(self_c: *const RUBase, interval: i32, timer_type: u32) -> i32,
pub start_timer_2: extern "C" fn(self_c: *const RUBase, time: u32, timer_type: u32) -> i32,
pub kill_timer: extern "C" fn(self_c: *const RUBase, id: i32),
pub set_parent: extern "C" fn(self_c: *const RUBase, parent: *const RUBase),
pub install_event_filter: extern "C" fn(self_c: *const RUBase, filter_obj: *const RUBase),
pub dump_object_tree: extern "C" fn(self_c: *const RUBase),
pub dump_object_info: extern "C" fn(self_c: *const RUBase),
pub dump_object_tree_2: extern "C" fn(self_c: *const RUBase),
pub dump_object_info_2: extern "C" fn(self_c: *const RUBase),
pub parent: extern "C" fn(self_c: *const RUBase) -> RUObject,
pub delete_later: extern "C" fn(self_c: *const RUBase),
pub set_custom_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_custom_event: extern "C" fn(object: *const RUBase),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
object_name: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_object_name: extern "C" fn(self_c: *const RUBase, name: *const c_char)
is_widget_type: extern "C" fn(self_c: *const RUBase) -> bool
is_window_type: extern "C" fn(self_c: *const RUBase) -> bool
signals_blocked: extern "C" fn(self_c: *const RUBase) -> bool
block_signals: extern "C" fn(self_c: *const RUBase, b: bool) -> bool
start_timer: extern "C" fn(self_c: *const RUBase, interval: i32, timer_type: u32) -> i32
start_timer_2: extern "C" fn(self_c: *const RUBase, time: u32, timer_type: u32) -> i32
kill_timer: extern "C" fn(self_c: *const RUBase, id: i32)
set_parent: extern "C" fn(self_c: *const RUBase, parent: *const RUBase)
install_event_filter: extern "C" fn(self_c: *const RUBase, filter_obj: *const RUBase)
dump_object_tree: extern "C" fn(self_c: *const RUBase)
dump_object_info: extern "C" fn(self_c: *const RUBase)
dump_object_tree_2: extern "C" fn(self_c: *const RUBase)
dump_object_info_2: extern "C" fn(self_c: *const RUBase)
parent: extern "C" fn(self_c: *const RUBase) -> RUObject
delete_later: extern "C" fn(self_c: *const RUBase)
set_custom_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_custom_event: extern "C" fn(object: *const RUBase)
Trait Implementations
sourceimpl Clone for RUObjectFuncs
impl Clone for RUObjectFuncs
sourcefn clone(&self) -> RUObjectFuncs
fn clone(&self) -> RUObjectFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUObjectFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUObjectFuncs
impl Send for RUObjectFuncs
impl Sync for RUObjectFuncs
impl Unpin for RUObjectFuncs
impl UnwindSafe for RUObjectFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more