#[repr(C)]pub struct _GDBusObjectIface {
pub parent_iface: GTypeInterface,
pub get_object_path: Option<unsafe extern "C" fn(object: *mut GDBusObject) -> *const gchar>,
pub get_interfaces: Option<unsafe extern "C" fn(object: *mut GDBusObject) -> *mut GList>,
pub get_interface: Option<unsafe extern "C" fn(object: *mut GDBusObject, interface_name: *const gchar) -> *mut GDBusInterface>,
pub interface_added: Option<unsafe extern "C" fn(object: *mut GDBusObject, interface_: *mut GDBusInterface)>,
pub interface_removed: Option<unsafe extern "C" fn(object: *mut GDBusObject, interface_: *mut GDBusInterface)>,
}
Expand description
GDBusObjectIface: @parent_iface: The parent interface. @get_object_path: Returns the object path. See g_dbus_object_get_object_path(). @get_interfaces: Returns all interfaces. See g_dbus_object_get_interfaces(). @get_interface: Returns an interface by name. See g_dbus_object_get_interface(). @interface_added: Signal handler for the #GDBusObject::interface-added signal. @interface_removed: Signal handler for the #GDBusObject::interface-removed signal.
Base object type for D-Bus objects.
Since: 2.30
Fields§
§parent_iface: GTypeInterface
§get_object_path: Option<unsafe extern "C" fn(object: *mut GDBusObject) -> *const gchar>
§get_interfaces: Option<unsafe extern "C" fn(object: *mut GDBusObject) -> *mut GList>
§get_interface: Option<unsafe extern "C" fn(object: *mut GDBusObject, interface_name: *const gchar) -> *mut GDBusInterface>
§interface_added: Option<unsafe extern "C" fn(object: *mut GDBusObject, interface_: *mut GDBusInterface)>
§interface_removed: Option<unsafe extern "C" fn(object: *mut GDBusObject, interface_: *mut GDBusInterface)>
Trait Implementations§
Source§impl Clone for _GDBusObjectIface
impl Clone for _GDBusObjectIface
Source§fn clone(&self) -> _GDBusObjectIface
fn clone(&self) -> _GDBusObjectIface
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 _GDBusObjectIface
impl Debug for _GDBusObjectIface
Source§impl PartialEq for _GDBusObjectIface
impl PartialEq for _GDBusObjectIface
impl Copy for _GDBusObjectIface
impl Eq for _GDBusObjectIface
impl StructuralPartialEq for _GDBusObjectIface
Auto Trait Implementations§
impl Freeze for _GDBusObjectIface
impl RefUnwindSafe for _GDBusObjectIface
impl Send for _GDBusObjectIface
impl Sync for _GDBusObjectIface
impl Unpin for _GDBusObjectIface
impl UnwindSafe for _GDBusObjectIface
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