pub struct CafChunkHeader {
pub ch_type: ChunkType,
pub ch_size: i64,
}
Expand description
A decoded CAF chunk header
Fields§
§ch_type: ChunkType
§ch_size: i64
The size of the chunk’s content (without the head) in bytes.
-1 is a special value and means the chunk ends at the EOF. The spec only allows this case for the Audio Data chunk. Such a chunk is obviously last in the file.
Trait Implementations§
Source§impl Clone for CafChunkHeader
impl Clone for CafChunkHeader
Source§fn clone(&self) -> CafChunkHeader
fn clone(&self) -> CafChunkHeader
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 moreAuto Trait Implementations§
impl Freeze for CafChunkHeader
impl RefUnwindSafe for CafChunkHeader
impl Send for CafChunkHeader
impl Sync for CafChunkHeader
impl Unpin for CafChunkHeader
impl UnwindSafe for CafChunkHeader
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