#[repr(C)]pub struct _GDBusInterfaceIface {
pub parent_iface: GTypeInterface,
pub get_info: Option<unsafe extern "C" fn(interface_: *mut GDBusInterface) -> *mut GDBusInterfaceInfo>,
pub get_object: Option<unsafe extern "C" fn(interface_: *mut GDBusInterface) -> *mut GDBusObject>,
pub set_object: Option<unsafe extern "C" fn(interface_: *mut GDBusInterface, object: *mut GDBusObject)>,
pub dup_object: Option<unsafe extern "C" fn(interface_: *mut GDBusInterface) -> *mut GDBusObject>,
}
Expand description
GDBusInterfaceIface: @parent_iface: The parent interface. @get_info: Returns a #GDBusInterfaceInfo. See g_dbus_interface_get_info(). @get_object: Gets the enclosing #GDBusObject. See g_dbus_interface_get_object(). @set_object: Sets the enclosing #GDBusObject. See g_dbus_interface_set_object(). @dup_object: Gets a reference to the enclosing #GDBusObject. See g_dbus_interface_dup_object(). Added in 2.32.
Base type for D-Bus interfaces.
Since: 2.30
Fields§
§parent_iface: GTypeInterface
§get_info: Option<unsafe extern "C" fn(interface_: *mut GDBusInterface) -> *mut GDBusInterfaceInfo>
§get_object: Option<unsafe extern "C" fn(interface_: *mut GDBusInterface) -> *mut GDBusObject>
§set_object: Option<unsafe extern "C" fn(interface_: *mut GDBusInterface, object: *mut GDBusObject)>
§dup_object: Option<unsafe extern "C" fn(interface_: *mut GDBusInterface) -> *mut GDBusObject>
Trait Implementations§
Source§impl Clone for _GDBusInterfaceIface
impl Clone for _GDBusInterfaceIface
Source§fn clone(&self) -> _GDBusInterfaceIface
fn clone(&self) -> _GDBusInterfaceIface
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 _GDBusInterfaceIface
impl Debug for _GDBusInterfaceIface
Source§impl PartialEq for _GDBusInterfaceIface
impl PartialEq for _GDBusInterfaceIface
impl Copy for _GDBusInterfaceIface
impl Eq for _GDBusInterfaceIface
impl StructuralPartialEq for _GDBusInterfaceIface
Auto Trait Implementations§
impl Freeze for _GDBusInterfaceIface
impl RefUnwindSafe for _GDBusInterfaceIface
impl Send for _GDBusInterfaceIface
impl Sync for _GDBusInterfaceIface
impl Unpin for _GDBusInterfaceIface
impl UnwindSafe for _GDBusInterfaceIface
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