Struct libspa_sys::spa_io_memory
source · #[repr(C)]pub struct spa_io_memory {
pub status: i32,
pub size: u32,
pub data: *mut c_void,
}
Expand description
IO area to exchange a memory region
Fields§
§status: i32
< the status code
size: u32
< the size of \a data
data: *mut c_void
< a memory pointer
Trait Implementations§
source§impl Clone for spa_io_memory
impl Clone for spa_io_memory
source§fn clone(&self) -> spa_io_memory
fn clone(&self) -> spa_io_memory
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_io_memory
impl Debug for spa_io_memory
source§impl PartialEq for spa_io_memory
impl PartialEq for spa_io_memory
source§fn eq(&self, other: &spa_io_memory) -> bool
fn eq(&self, other: &spa_io_memory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_io_memory
impl Eq for spa_io_memory
impl StructuralPartialEq for spa_io_memory
Auto Trait Implementations§
impl RefUnwindSafe for spa_io_memory
impl !Send for spa_io_memory
impl !Sync for spa_io_memory
impl Unpin for spa_io_memory
impl UnwindSafe for spa_io_memory
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