Struct libspa_sys::spa_chunk
source · #[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§
source§impl PartialEq for spa_chunk
impl PartialEq for spa_chunk
impl Copy for spa_chunk
impl Eq for spa_chunk
impl StructuralPartialEq for spa_chunk
Auto Trait Implementations§
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