pub enum MediaType {
Movie,
Normal,
AudioBook,
WhackedBookmark,
MusicVideo,
ShortFilm,
TVShow,
Booklet,
Unknown(u8),
}
Expand description
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§
source§impl PartialEq<MediaType> for MediaType
impl PartialEq<MediaType> for MediaType
impl Eq for MediaType
impl StructuralEq for MediaType
impl StructuralPartialEq for MediaType
Auto Trait Implementations§
impl RefUnwindSafe for MediaType
impl Send for MediaType
impl Sync for MediaType
impl Unpin for MediaType
impl UnwindSafe for MediaType
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more