pub enum AtomData {
Show 20 variants
FileType(FileTypeAtom),
MovieHeader(MovieHeaderAtom),
MediaHeader(MediaHeaderAtom),
EditList(EditListAtom),
HandlerReference(HandlerReferenceAtom),
SoundMediaHeader(SoundMediaHeaderAtom),
BaseMediaInfo(BaseMediaInfoAtom),
TextMediaInfo(TextMediaInfoAtom),
ItemList(ItemListAtom),
TrackHeader(TrackHeaderAtom),
SampleDescriptionTable(SampleDescriptionTableAtom),
TrackReference(TrackReferenceAtom),
DataReference(DataReferenceAtom),
SampleSize(SampleSizeAtom),
ChunkOffset(ChunkOffsetAtom),
TimeToSample(TimeToSampleAtom),
SampleToChunk(SampleToChunkAtom),
ChapterList(ChapterListAtom),
Free(FreeAtom),
RawData(RawData),
}Expand description
Represents data contained in an atom (other than children).
Usually only leaf atoms contain data, but some container types such as meta have some extra headers.
Variants§
FileType(FileTypeAtom)
MovieHeader(MovieHeaderAtom)
MediaHeader(MediaHeaderAtom)
EditList(EditListAtom)
HandlerReference(HandlerReferenceAtom)
SoundMediaHeader(SoundMediaHeaderAtom)
BaseMediaInfo(BaseMediaInfoAtom)
TextMediaInfo(TextMediaInfoAtom)
ItemList(ItemListAtom)
TrackHeader(TrackHeaderAtom)
SampleDescriptionTable(SampleDescriptionTableAtom)
TrackReference(TrackReferenceAtom)
DataReference(DataReferenceAtom)
SampleSize(SampleSizeAtom)
ChunkOffset(ChunkOffsetAtom)
TimeToSample(TimeToSampleAtom)
SampleToChunk(SampleToChunkAtom)
ChapterList(ChapterListAtom)
Free(FreeAtom)
RawData(RawData)
Trait Implementations§
Source§impl From<BaseMediaInfoAtom> for AtomData
impl From<BaseMediaInfoAtom> for AtomData
Source§fn from(atom: BaseMediaInfoAtom) -> Self
fn from(atom: BaseMediaInfoAtom) -> Self
Converts to this type from the input type.
Source§impl From<ChapterListAtom> for AtomData
impl From<ChapterListAtom> for AtomData
Source§fn from(atom: ChapterListAtom) -> Self
fn from(atom: ChapterListAtom) -> Self
Converts to this type from the input type.
Source§impl From<ChunkOffsetAtom> for AtomData
impl From<ChunkOffsetAtom> for AtomData
Source§fn from(atom: ChunkOffsetAtom) -> Self
fn from(atom: ChunkOffsetAtom) -> Self
Converts to this type from the input type.
Source§impl From<DataReferenceAtom> for AtomData
impl From<DataReferenceAtom> for AtomData
Source§fn from(atom: DataReferenceAtom) -> Self
fn from(atom: DataReferenceAtom) -> Self
Converts to this type from the input type.
Source§impl From<EditListAtom> for AtomData
impl From<EditListAtom> for AtomData
Source§fn from(atom: EditListAtom) -> Self
fn from(atom: EditListAtom) -> Self
Converts to this type from the input type.
Source§impl From<FileTypeAtom> for AtomData
impl From<FileTypeAtom> for AtomData
Source§fn from(atom: FileTypeAtom) -> Self
fn from(atom: FileTypeAtom) -> Self
Converts to this type from the input type.
Source§impl From<HandlerReferenceAtom> for AtomData
impl From<HandlerReferenceAtom> for AtomData
Source§fn from(atom: HandlerReferenceAtom) -> Self
fn from(atom: HandlerReferenceAtom) -> Self
Converts to this type from the input type.
Source§impl From<ItemListAtom> for AtomData
impl From<ItemListAtom> for AtomData
Source§fn from(atom: ItemListAtom) -> Self
fn from(atom: ItemListAtom) -> Self
Converts to this type from the input type.
Source§impl From<MediaHeaderAtom> for AtomData
impl From<MediaHeaderAtom> for AtomData
Source§fn from(atom: MediaHeaderAtom) -> Self
fn from(atom: MediaHeaderAtom) -> Self
Converts to this type from the input type.
Source§impl From<MovieHeaderAtom> for AtomData
impl From<MovieHeaderAtom> for AtomData
Source§fn from(atom: MovieHeaderAtom) -> Self
fn from(atom: MovieHeaderAtom) -> Self
Converts to this type from the input type.
Source§impl From<SampleDescriptionTableAtom> for AtomData
impl From<SampleDescriptionTableAtom> for AtomData
Source§fn from(atom: SampleDescriptionTableAtom) -> Self
fn from(atom: SampleDescriptionTableAtom) -> Self
Converts to this type from the input type.
Source§impl From<SampleSizeAtom> for AtomData
impl From<SampleSizeAtom> for AtomData
Source§fn from(atom: SampleSizeAtom) -> Self
fn from(atom: SampleSizeAtom) -> Self
Converts to this type from the input type.
Source§impl From<SampleToChunkAtom> for AtomData
impl From<SampleToChunkAtom> for AtomData
Source§fn from(atom: SampleToChunkAtom) -> Self
fn from(atom: SampleToChunkAtom) -> Self
Converts to this type from the input type.
Source§impl From<SoundMediaHeaderAtom> for AtomData
impl From<SoundMediaHeaderAtom> for AtomData
Source§fn from(atom: SoundMediaHeaderAtom) -> Self
fn from(atom: SoundMediaHeaderAtom) -> Self
Converts to this type from the input type.
Source§impl From<TextMediaInfoAtom> for AtomData
impl From<TextMediaInfoAtom> for AtomData
Source§fn from(atom: TextMediaInfoAtom) -> Self
fn from(atom: TextMediaInfoAtom) -> Self
Converts to this type from the input type.
Source§impl From<TimeToSampleAtom> for AtomData
impl From<TimeToSampleAtom> for AtomData
Source§fn from(atom: TimeToSampleAtom) -> Self
fn from(atom: TimeToSampleAtom) -> Self
Converts to this type from the input type.
Source§impl From<TrackHeaderAtom> for AtomData
impl From<TrackHeaderAtom> for AtomData
Source§fn from(atom: TrackHeaderAtom) -> Self
fn from(atom: TrackHeaderAtom) -> Self
Converts to this type from the input type.
Source§impl From<TrackReferenceAtom> for AtomData
impl From<TrackReferenceAtom> for AtomData
Source§fn from(atom: TrackReferenceAtom) -> Self
fn from(atom: TrackReferenceAtom) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AtomData
impl RefUnwindSafe for AtomData
impl Send for AtomData
impl Sync for AtomData
impl Unpin for AtomData
impl UnsafeUnpin for AtomData
impl UnwindSafe for AtomData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more