Struct libspa_sys::spa_source
source · #[repr(C)]pub struct spa_source {
pub loop_: *mut spa_loop,
pub func: spa_source_func_t,
pub data: *mut c_void,
pub fd: c_int,
pub mask: u32,
pub rmask: u32,
pub priv_: *mut c_void,
}
Fields§
§loop_: *mut spa_loop
§func: spa_source_func_t
§data: *mut c_void
§fd: c_int
§mask: u32
§rmask: u32
§priv_: *mut c_void
Trait Implementations§
source§impl Clone for spa_source
impl Clone for spa_source
source§fn clone(&self) -> spa_source
fn clone(&self) -> spa_source
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_source
impl Debug for spa_source
source§impl PartialEq for spa_source
impl PartialEq for spa_source
source§fn eq(&self, other: &spa_source) -> bool
fn eq(&self, other: &spa_source) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_source
impl Eq for spa_source
impl StructuralPartialEq for spa_source
Auto Trait Implementations§
impl RefUnwindSafe for spa_source
impl !Send for spa_source
impl !Sync for spa_source
impl Unpin for spa_source
impl UnwindSafe for spa_source
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