[−][src]Struct mp4ameta::atom::METADATA_ATOM_T
Lazily initialized static reference to an atom metadata hierarchy template needed to parse metadata.
Methods from Deref<Target = AtomT>
pub fn child(&self, ident: Ident) -> Option<&Self>
[src]
Returns a reference to the first children atom template matching the identifier, if present.
pub fn first_child(&self) -> Option<&Self>
[src]
Returns a reference to the first children atom template, if present.
pub fn parse_next(&self, reader: &mut impl Read + Seek) -> Result<Atom>
[src]
Attempts to parse an atom, that matches the template, from the reader
. This should only
be used if the atom has to be in this exact position, if the parsed and expected
identifier
s don't match this will return an error.
pub fn parse(&self, reader: &mut impl Read + Seek) -> Result<Atom>
[src]
Attempts to parse an atom, that matches the template, from the reader.
pub fn parse_content(
&self,
reader: &mut impl Read + Seek,
length: usize
) -> Result<Content>
[src]
&self,
reader: &mut impl Read + Seek,
length: usize
) -> Result<Content>
Attempts to parse the atom template's content from the reader.
Trait Implementations
impl Deref for METADATA_ATOM_T
[src]
impl LazyStatic for METADATA_ATOM_T
[src]
pub fn initialize(lazy: &Self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for METADATA_ATOM_T
impl Send for METADATA_ATOM_T
impl Sync for METADATA_ATOM_T
impl Unpin for METADATA_ATOM_T
impl UnwindSafe for METADATA_ATOM_T
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,