Struct libspa_sys::spa_buffer
source · #[repr(C)]pub struct spa_buffer {
pub n_metas: u32,
pub n_datas: u32,
pub metas: *mut spa_meta,
pub datas: *mut spa_data,
}
Expand description
A Buffer
Fields§
§n_metas: u32
< number of metadata
n_datas: u32
< number of data members
metas: *mut spa_meta
< array of metadata
datas: *mut spa_data
< array of data members
Trait Implementations§
source§impl Clone for spa_buffer
impl Clone for spa_buffer
source§fn clone(&self) -> spa_buffer
fn clone(&self) -> spa_buffer
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_buffer
impl Debug for spa_buffer
source§impl PartialEq for spa_buffer
impl PartialEq for spa_buffer
source§fn eq(&self, other: &spa_buffer) -> bool
fn eq(&self, other: &spa_buffer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_buffer
impl Eq for spa_buffer
impl StructuralPartialEq for spa_buffer
Auto Trait Implementations§
impl RefUnwindSafe for spa_buffer
impl !Send for spa_buffer
impl !Sync for spa_buffer
impl Unpin for spa_buffer
impl UnwindSafe for spa_buffer
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