pub enum AudioLanguageExt {
NotSpecified,
Normal,
VisuallyImpaired,
DirectorComments,
AlternateDirectorComments,
Reserved(u8),
}Expand description
Decoded view of SPRM 17 (preferred audio language extension).
Values per mpucoder-sprm.html: 0 = not specified, 1 = normal,
2 = for visually impaired, 3 = director comments,
4 = alternate director comments. Any other value collapses to
Reserved.
Variants§
NotSpecified
0 — not specified.
Normal
1 — normal.
VisuallyImpaired
2 — for visually impaired.
DirectorComments
3 — director comments.
AlternateDirectorComments
4 — alternate director comments.
Reserved(u8)
Any other value — preserved verbatim for round-trip.
Implementations§
Trait Implementations§
Source§impl Clone for AudioLanguageExt
impl Clone for AudioLanguageExt
Source§fn clone(&self) -> AudioLanguageExt
fn clone(&self) -> AudioLanguageExt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AudioLanguageExt
Source§impl Debug for AudioLanguageExt
impl Debug for AudioLanguageExt
impl Eq for AudioLanguageExt
Source§impl PartialEq for AudioLanguageExt
impl PartialEq for AudioLanguageExt
Source§fn eq(&self, other: &AudioLanguageExt) -> bool
fn eq(&self, other: &AudioLanguageExt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioLanguageExt
Auto Trait Implementations§
impl Freeze for AudioLanguageExt
impl RefUnwindSafe for AudioLanguageExt
impl Send for AudioLanguageExt
impl Sync for AudioLanguageExt
impl Unpin for AudioLanguageExt
impl UnsafeUnpin for AudioLanguageExt
impl UnwindSafe for AudioLanguageExt
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