[][src]Enum mp4parse::MediaType

pub enum MediaType {
    Movie,
    Normal,
    AudioBook,
    WhackedBookmark,
    MusicVideo,
    ShortFilm,
    TVShow,
    Booklet,
    Unknown(u8),
}

Represents the contents of a 'stik' atom that indicates content types within iTunes.

Variants

Movie

Movie is stored as 0 in a 'stik' atom.

Normal

Normal is stored as 1 in a 'stik' atom.

AudioBook

AudioBook is stored as 2 in a 'stik' atom.

WhackedBookmark

WhackedBookmark is stored as 5 in a 'stik' atom.

MusicVideo

MusicVideo is stored as 6 in a 'stik' atom.

ShortFilm

ShortFilm is stored as 9 in a 'stik' atom.

TVShow

TVShow is stored as 10 in a 'stik' atom.

Booklet

Booklet is stored as 11 in a 'stik' atom.

Unknown(u8)

An unknown 'stik' value.

Trait Implementations

impl Clone for MediaType[src]

impl Debug for MediaType[src]

impl Eq for MediaType[src]

impl PartialEq<MediaType> for MediaType[src]

impl StructuralEq for MediaType[src]

impl StructuralPartialEq for MediaType[src]

Auto Trait Implementations

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.