Type Alias GDBusObjectManagerIface

Source
pub type GDBusObjectManagerIface = _GDBusObjectManagerIface;
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

Aliased Type§

struct GDBusObjectManagerIface {
    pub parent_iface: _GTypeInterface,
    pub get_object_path: Option<unsafe extern "C" fn(*mut _GDBusObjectManager) -> *const i8>,
    pub get_objects: Option<unsafe extern "C" fn(*mut _GDBusObjectManager) -> *mut _GList>,
    pub get_object: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *const i8) -> *mut _GDBusObject>,
    pub get_interface: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *const i8, *const i8) -> *mut _GDBusInterface>,
    pub object_added: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *mut _GDBusObject)>,
    pub object_removed: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *mut _GDBusObject)>,
    pub interface_added: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *mut _GDBusObject, *mut _GDBusInterface)>,
    pub interface_removed: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *mut _GDBusObject, *mut _GDBusInterface)>,
}

Fields§

§parent_iface: _GTypeInterface§get_object_path: Option<unsafe extern "C" fn(*mut _GDBusObjectManager) -> *const i8>§get_objects: Option<unsafe extern "C" fn(*mut _GDBusObjectManager) -> *mut _GList>§get_object: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *const i8) -> *mut _GDBusObject>§get_interface: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *const i8, *const i8) -> *mut _GDBusInterface>§object_added: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *mut _GDBusObject)>§object_removed: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *mut _GDBusObject)>§interface_added: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *mut _GDBusObject, *mut _GDBusInterface)>§interface_removed: Option<unsafe extern "C" fn(*mut _GDBusObjectManager, *mut _GDBusObject, *mut _GDBusInterface)>

Trait Implementations

Source§

impl Clone for _GDBusObjectManagerIface

Source§

fn clone(&self) -> _GDBusObjectManagerIface

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GDBusObjectManagerIface

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GDBusObjectManagerIface

Source§

fn eq(&self, other: &_GDBusObjectManagerIface) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GDBusObjectManagerIface

Source§

impl Eq for _GDBusObjectManagerIface

Source§

impl StructuralPartialEq for _GDBusObjectManagerIface