Struct libspa_sys::spa_buffer_alloc_info
source · #[repr(C)]pub struct spa_buffer_alloc_info {
pub flags: u32,
pub max_align: u32,
pub n_metas: u32,
pub n_datas: u32,
pub metas: *mut spa_meta,
pub datas: *mut spa_data,
pub data_aligns: *mut u32,
pub skel_size: usize,
pub meta_size: usize,
pub chunk_size: usize,
pub data_size: usize,
pub mem_size: usize,
}
Expand description
information about the buffer layout
Fields§
§flags: u32
§max_align: u32
< max of all alignments
n_metas: u32
§n_datas: u32
§metas: *mut spa_meta
§datas: *mut spa_data
§data_aligns: *mut u32
§skel_size: usize
< size of the struct spa_buffer and inlined meta/chunk/data
meta_size: usize
< size of the meta if not inlined
chunk_size: usize
< size of the chunk if not inlined
data_size: usize
< size of the data if not inlined
mem_size: usize
< size of the total memory if not inlined
Trait Implementations§
source§impl Clone for spa_buffer_alloc_info
impl Clone for spa_buffer_alloc_info
source§fn clone(&self) -> spa_buffer_alloc_info
fn clone(&self) -> spa_buffer_alloc_info
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_alloc_info
impl Debug for spa_buffer_alloc_info
source§impl PartialEq for spa_buffer_alloc_info
impl PartialEq for spa_buffer_alloc_info
source§fn eq(&self, other: &spa_buffer_alloc_info) -> bool
fn eq(&self, other: &spa_buffer_alloc_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_buffer_alloc_info
impl Eq for spa_buffer_alloc_info
impl StructuralPartialEq for spa_buffer_alloc_info
Auto Trait Implementations§
impl RefUnwindSafe for spa_buffer_alloc_info
impl !Send for spa_buffer_alloc_info
impl !Sync for spa_buffer_alloc_info
impl Unpin for spa_buffer_alloc_info
impl UnwindSafe for spa_buffer_alloc_info
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