Struct gio_sys::GDBusObjectIface
source · [−]#[repr(C)]pub struct GDBusObjectIface {
pub parent_iface: GTypeInterface,
pub get_object_path: Option<unsafe extern "C" fn(_: *mut GDBusObject) -> *const c_char>,
pub get_interfaces: Option<unsafe extern "C" fn(_: *mut GDBusObject) -> *mut GList>,
pub get_interface: Option<unsafe extern "C" fn(_: *mut GDBusObject, _: *const c_char) -> *mut GDBusInterface>,
pub interface_added: Option<unsafe extern "C" fn(_: *mut GDBusObject, _: *mut GDBusInterface)>,
pub interface_removed: Option<unsafe extern "C" fn(_: *mut GDBusObject, _: *mut GDBusInterface)>,
}
Fields
parent_iface: GTypeInterface
get_object_path: Option<unsafe extern "C" fn(_: *mut GDBusObject) -> *const c_char>
get_interfaces: Option<unsafe extern "C" fn(_: *mut GDBusObject) -> *mut GList>
get_interface: Option<unsafe extern "C" fn(_: *mut GDBusObject, _: *const c_char) -> *mut GDBusInterface>
interface_added: Option<unsafe extern "C" fn(_: *mut GDBusObject, _: *mut GDBusInterface)>
interface_removed: Option<unsafe extern "C" fn(_: *mut GDBusObject, _: *mut GDBusInterface)>
Trait Implementations
sourceimpl Clone for GDBusObjectIface
impl Clone for GDBusObjectIface
sourcefn clone(&self) -> GDBusObjectIface
fn clone(&self) -> GDBusObjectIface
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 more
sourceimpl Debug for GDBusObjectIface
impl Debug for GDBusObjectIface
impl Copy for GDBusObjectIface
Auto Trait Implementations
impl RefUnwindSafe for GDBusObjectIface
impl Send for GDBusObjectIface
impl Sync for GDBusObjectIface
impl Unpin for GDBusObjectIface
impl UnwindSafe for GDBusObjectIface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more