pub struct StblAtomRef<'a>(/* private fields */);Implementations§
Source§impl<'a> StblAtomRef<'a>
impl<'a> StblAtomRef<'a>
pub fn children(&self) -> impl Iterator<Item = &'a Atom>
Sourcepub fn sample_description(&self) -> Option<&'a SampleDescriptionTableAtom>
pub fn sample_description(&self) -> Option<&'a SampleDescriptionTableAtom>
Finds the STSD atom
Sourcepub fn time_to_sample(&self) -> Option<&'a TimeToSampleAtom>
pub fn time_to_sample(&self) -> Option<&'a TimeToSampleAtom>
Finds the STTS atom
Sourcepub fn sample_to_chunk(&self) -> Option<&'a SampleToChunkAtom>
pub fn sample_to_chunk(&self) -> Option<&'a SampleToChunkAtom>
Finds the STSC atom
Sourcepub fn sample_size(&self) -> Option<&'a SampleSizeAtom>
pub fn sample_size(&self) -> Option<&'a SampleSizeAtom>
Finds the STSZ atom
Sourcepub fn chunk_offset(&self) -> Option<&'a ChunkOffsetAtom>
pub fn chunk_offset(&self) -> Option<&'a ChunkOffsetAtom>
Finds the STCO atom
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StblAtomRef<'a>
impl<'a> RefUnwindSafe for StblAtomRef<'a>
impl<'a> Send for StblAtomRef<'a>
impl<'a> Sync for StblAtomRef<'a>
impl<'a> Unpin for StblAtomRef<'a>
impl<'a> UnsafeUnpin for StblAtomRef<'a>
impl<'a> UnwindSafe for StblAtomRef<'a>
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> 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