#[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 duplicate 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
impl Copy for spa_dbus_methods
impl Eq for spa_dbus_methods
impl StructuralPartialEq for spa_dbus_methods
Auto Trait Implementations§
impl Freeze for spa_dbus_methods
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