#[repr(C)]pub struct spa_chunk {
    pub offset: u32,
    pub size: u32,
    pub stride: i32,
    pub flags: i32,
}Expand description
Chunk of memory, can change for each buffer
Fields§
§offset: u32< offset of valid data. Should be taken modulo the data maxsize to get the offset in the data memory.
size: u32< size of valid data. Should be clamped to maxsize.
stride: i32< stride of valid data
flags: i32< chunk flags
Trait Implementations§
impl Copy for spa_chunk
impl Eq for spa_chunk
impl StructuralPartialEq for spa_chunk
Auto Trait Implementations§
impl Freeze for spa_chunk
impl RefUnwindSafe for spa_chunk
impl Send for spa_chunk
impl Sync for spa_chunk
impl Unpin for spa_chunk
impl UnwindSafe for spa_chunk
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