pub struct DataChunk { /* private fields */ }
Expand description
The data chunk contains the DSD sample data.
Implementations
sourceimpl DataChunk
impl DataChunk
sourcepub fn chunk_size(&self) -> u64
pub fn chunk_size(&self) -> u64
The size of the data chunk in bytes. This is equal to the sample data + 12 bytes. The extra 12 bytes are taken up by the data chunk header and this size field.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DataChunk
impl Send for DataChunk
impl Sync for DataChunk
impl Unpin for DataChunk
impl UnwindSafe for DataChunk
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more