pub struct TrakAtomRefMut<'a>(/* private fields */);Implementations§
Source§impl<'a> TrakAtomRefMut<'a>
impl<'a> TrakAtomRefMut<'a>
pub fn as_ref(&self) -> TrakAtomRef<'_>
pub fn into_ref(self) -> TrakAtomRef<'a>
pub fn children(&mut self) -> impl Iterator<Item = &mut Atom>
Sourcepub fn header(&mut self) -> &mut TrackHeaderAtom
pub fn header(&mut self) -> &mut TrackHeaderAtom
Finds or inserts the TKHD atom
Sourcepub fn media(&mut self) -> MdiaAtomRefMut<'_>
pub fn media(&mut self) -> MdiaAtomRefMut<'_>
Finds or creates the MDIA atom
Sourcepub fn into_media(self) -> Option<MdiaAtomRefMut<'a>>
pub fn into_media(self) -> Option<MdiaAtomRefMut<'a>>
Finds the MDIA atom
Sourcepub fn edit_list_container(&mut self) -> EdtsAtomRefMut<'_>
pub fn edit_list_container(&mut self) -> EdtsAtomRefMut<'_>
Finds or creates the EDTS atom
Sourcepub fn track_reference(&mut self) -> &mut TrackReferenceAtom
pub fn track_reference(&mut self) -> &mut TrackReferenceAtom
Finds or inserts the TREF atom
Sourcepub fn update_audio_bitrate(&mut self, bitrate: u32)
pub fn update_audio_bitrate(&mut self, bitrate: u32)
Updates track metadata with the new audio bitrate
Creates any missing atoms needed to do so
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TrakAtomRefMut<'a>
impl<'a> RefUnwindSafe for TrakAtomRefMut<'a>
impl<'a> Send for TrakAtomRefMut<'a>
impl<'a> Sync for TrakAtomRefMut<'a>
impl<'a> Unpin for TrakAtomRefMut<'a>
impl<'a> UnsafeUnpin for TrakAtomRefMut<'a>
impl<'a> !UnwindSafe for TrakAtomRefMut<'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