pub enum AtomIdent<'a> {
Fourcc([u8; 4]),
Freeform {
mean: Cow<'a, str>,
name: Cow<'a, str>,
},
}Expand description
Represents an MP4 atom identifier
Variants§
Fourcc([u8; 4])
A four byte identifier
Many FOURCCs start with 0xA9 (©), and should be human-readable.
Freeform
A freeform identifier
§Example
----:com.apple.iTunes:SUBTITLE
─┬── ────────┬─────── ───┬────
╰freeform identifier ╰name
|
╰mean
Implementations§
source§impl<'a> AtomIdent<'a>
impl<'a> AtomIdent<'a>
sourcepub fn as_borrowed(&'a self) -> Self
pub fn as_borrowed(&'a self) -> Self
Obtains a borrowed instance
sourcepub fn into_owned(self) -> AtomIdent<'static>
pub fn into_owned(self) -> AtomIdent<'static>
Obtains an owned instance
Trait Implementations§
impl<'a> Eq for AtomIdent<'a>
impl<'a> StructuralPartialEq for AtomIdent<'a>
Auto Trait Implementations§
impl<'a> Freeze for AtomIdent<'a>
impl<'a> RefUnwindSafe for AtomIdent<'a>
impl<'a> Send for AtomIdent<'a>
impl<'a> Sync for AtomIdent<'a>
impl<'a> Unpin for AtomIdent<'a>
impl<'a> UnwindSafe for AtomIdent<'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> 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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)