Struct libspa_sys::spa_dbus_methods
source · #[repr(C)]pub struct spa_dbus_methods {
pub version: u32,
pub get_connection: Option<unsafe extern "C" fn(object: *mut c_void, type_: spa_dbus_type) -> *mut spa_dbus_connection>,
}
Fields§
§version: u32
§get_connection: Option<unsafe extern "C" fn(object: *mut c_void, type_: spa_dbus_type) -> *mut spa_dbus_connection>
Get a new connection wrapper for the given bus type.
The connection wrapper is completely configured to operate in the main context of the handle that manages the spa_dbus interface.
\param dbus the dbus manager \param type the bus type to wrap \param error location for the DBusError \return a new dbus connection wrapper or NULL on error
Trait Implementations§
source§impl Clone for spa_dbus_methods
impl Clone for spa_dbus_methods
source§fn clone(&self) -> spa_dbus_methods
fn clone(&self) -> spa_dbus_methods
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 spa_dbus_methods
impl Debug for spa_dbus_methods
source§impl PartialEq for spa_dbus_methods
impl PartialEq for spa_dbus_methods
source§fn eq(&self, other: &spa_dbus_methods) -> bool
fn eq(&self, other: &spa_dbus_methods) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_dbus_methods
impl Eq for spa_dbus_methods
impl StructuralPartialEq for spa_dbus_methods
Auto Trait Implementations§
impl RefUnwindSafe for spa_dbus_methods
impl Send for spa_dbus_methods
impl Sync for spa_dbus_methods
impl Unpin for spa_dbus_methods
impl UnwindSafe for spa_dbus_methods
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