pub enum ChunkType {
Show 18 variants
AudioDescription,
AudioData,
PacketTable,
ChannelLayout,
MagicCookie,
Strings,
Marker,
Region,
Instrument,
Midi,
Overview,
Peak,
EditComments,
Info,
UniqueMaterialIdentifier,
UserDefined,
Free,
Other(u32),
}
Expand description
Possible chunk types defined by the spec
The chunks in a CAF file after the CAF File Header form the uppermost layer of granularity.
The spec explicitly says that the list is not exhaustive
and that users may add their own unofficial chunk types
from outside of the reserved range of chunks.
Those chunk types are represented by the Other
variant.
Variants§
AudioDescription
mChunkType for the “Audio Description” chunk
AudioData
mChunkType for the “Audio Data” chunk
PacketTable
mChunkType for the “Packet Table” chunk
ChannelLayout
mChunkType for the “Channel Layout” chunk
MagicCookie
mChunkType for the “Magic Cookie” chunk
Strings
mChunkType for the “Strings” chunk
Marker
mChunkType for the “Marker” chunk
Region
mChunkType for the “Region” chunk
Instrument
mChunkType for the “Instrument” chunk
Midi
mChunkType for the “MIDI” chunk
Overview
mChunkType for the “Overview” chunk
Peak
mChunkType for the “Peak” chunk
EditComments
mChunkType for the “Edit Comments” chunk
Info
mChunkType for the “Information” chunk
UniqueMaterialIdentifier
mChunkType for the “Unique Material Identifier” chunk
UserDefined
mChunkType for the “User-Defined” chunk
Free
mChunkType for the “Free” chunk
Other(u32)
Variant for all chunks that were not mentioned in this list.
This includes both chunk types from the range of reserved chunk types that weren’t mentioned, and those from outside the range of reserved ones.
Trait Implementations§
impl Copy for ChunkType
impl Eq for ChunkType
impl StructuralPartialEq for ChunkType
Auto Trait Implementations§
impl Freeze for ChunkType
impl RefUnwindSafe for ChunkType
impl Send for ChunkType
impl Sync for ChunkType
impl Unpin for ChunkType
impl UnwindSafe for ChunkType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)