Struct libspa_sys::spa_callbacks
source · #[repr(C)]pub struct spa_callbacks {
pub funcs: *const c_void,
pub data: *mut c_void,
}
Expand description
\struct spa_callbacks Callbacks, contains the structure with functions and the data passed to the functions. The structure should also contain a version field that is checked.
Fields§
§funcs: *const c_void
§data: *mut c_void
Trait Implementations§
source§impl Clone for spa_callbacks
impl Clone for spa_callbacks
source§fn clone(&self) -> spa_callbacks
fn clone(&self) -> spa_callbacks
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_callbacks
impl Debug for spa_callbacks
source§impl PartialEq for spa_callbacks
impl PartialEq for spa_callbacks
source§fn eq(&self, other: &spa_callbacks) -> bool
fn eq(&self, other: &spa_callbacks) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_callbacks
impl Eq for spa_callbacks
impl StructuralPartialEq for spa_callbacks
Auto Trait Implementations§
impl RefUnwindSafe for spa_callbacks
impl !Send for spa_callbacks
impl !Sync for spa_callbacks
impl Unpin for spa_callbacks
impl UnwindSafe for spa_callbacks
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