Struct libspa_sys::spa_dbus_connection_events
source · #[repr(C)]pub struct spa_dbus_connection_events {
pub version: u32,
pub destroy: Option<unsafe extern "C" fn(data: *mut c_void)>,
pub disconnected: Option<unsafe extern "C" fn(data: *mut c_void)>,
}
Fields§
§version: u32
§destroy: Option<unsafe extern "C" fn(data: *mut c_void)>
§disconnected: Option<unsafe extern "C" fn(data: *mut c_void)>
Trait Implementations§
source§impl Clone for spa_dbus_connection_events
impl Clone for spa_dbus_connection_events
source§fn clone(&self) -> spa_dbus_connection_events
fn clone(&self) -> spa_dbus_connection_events
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_connection_events
impl Debug for spa_dbus_connection_events
source§impl PartialEq for spa_dbus_connection_events
impl PartialEq for spa_dbus_connection_events
source§fn eq(&self, other: &spa_dbus_connection_events) -> bool
fn eq(&self, other: &spa_dbus_connection_events) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_dbus_connection_events
impl Eq for spa_dbus_connection_events
impl StructuralPartialEq for spa_dbus_connection_events
Auto Trait Implementations§
impl RefUnwindSafe for spa_dbus_connection_events
impl Send for spa_dbus_connection_events
impl Sync for spa_dbus_connection_events
impl Unpin for spa_dbus_connection_events
impl UnwindSafe for spa_dbus_connection_events
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