[][src]Struct mp4ameta::DataT

pub struct DataT { /* fields omitted */ }

A template used for parsing data defined by Table 3-5 Well-known data types.

Implementations

impl DataT[src]

pub fn with(datatype: u32) -> Self[src]

Creates a data template containing the datatype.

pub fn parse(
    &self,
    reader: &mut impl Read + Seek,
    length: usize
) -> Result<Data>
[src]

Attempts to parse corresponding data from the reader.

Trait Implementations

impl Clone for DataT[src]

impl Debug for DataT[src]

impl PartialEq<DataT> for DataT[src]

impl StructuralPartialEq for DataT[src]

Auto Trait Implementations

impl RefUnwindSafe for DataT

impl Send for DataT

impl Sync for DataT

impl Unpin for DataT

impl UnwindSafe for DataT

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.