#[repr(C)]pub struct _GDBusObjectManagerIface {
pub parent_iface: GTypeInterface,
pub get_object_path: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager) -> *const gchar>,
pub get_objects: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager) -> *mut GList>,
pub get_object: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object_path: *const gchar) -> *mut GDBusObject>,
pub get_interface: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object_path: *const gchar, interface_name: *const gchar) -> *mut GDBusInterface>,
pub object_added: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject)>,
pub object_removed: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject)>,
pub interface_added: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject, interface_: *mut GDBusInterface)>,
pub interface_removed: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject, interface_: *mut GDBusInterface)>,
}
Expand description
GDBusObjectManagerIface: @parent_iface: The parent interface. @get_object_path: Virtual function for g_dbus_object_manager_get_object_path(). @get_objects: Virtual function for g_dbus_object_manager_get_objects(). @get_object: Virtual function for g_dbus_object_manager_get_object(). @get_interface: Virtual function for g_dbus_object_manager_get_interface(). @object_added: Signal handler for the #GDBusObjectManager::object-added signal. @object_removed: Signal handler for the #GDBusObjectManager::object-removed signal. @interface_added: Signal handler for the #GDBusObjectManager::interface-added signal. @interface_removed: Signal handler for the #GDBusObjectManager::interface-removed signal.
Base type for D-Bus object managers.
Since: 2.30
Fields§
§parent_iface: GTypeInterface
§get_object_path: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager) -> *const gchar>
§get_objects: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager) -> *mut GList>
§get_object: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object_path: *const gchar) -> *mut GDBusObject>
§get_interface: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object_path: *const gchar, interface_name: *const gchar) -> *mut GDBusInterface>
§object_added: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject)>
§object_removed: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject)>
§interface_added: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject, interface_: *mut GDBusInterface)>
§interface_removed: Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject, interface_: *mut GDBusInterface)>
Trait Implementations§
Source§impl Clone for _GDBusObjectManagerIface
impl Clone for _GDBusObjectManagerIface
Source§fn clone(&self) -> _GDBusObjectManagerIface
fn clone(&self) -> _GDBusObjectManagerIface
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for _GDBusObjectManagerIface
impl Debug for _GDBusObjectManagerIface
Source§impl PartialEq for _GDBusObjectManagerIface
impl PartialEq for _GDBusObjectManagerIface
impl Copy for _GDBusObjectManagerIface
impl Eq for _GDBusObjectManagerIface
impl StructuralPartialEq for _GDBusObjectManagerIface
Auto Trait Implementations§
impl Freeze for _GDBusObjectManagerIface
impl RefUnwindSafe for _GDBusObjectManagerIface
impl Send for _GDBusObjectManagerIface
impl Sync for _GDBusObjectManagerIface
impl Unpin for _GDBusObjectManagerIface
impl UnwindSafe for _GDBusObjectManagerIface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more