pub struct Iso639LanguageDescriptor<'buf> { /* private fields */ }
Expand description
Descriptor which may be attached to Transport Stream metadata to indicate the language of the content.
Implementations§
source§impl<'buf> Iso639LanguageDescriptor<'buf>
impl<'buf> Iso639LanguageDescriptor<'buf>
sourcepub const TAG: u8 = 10u8
pub const TAG: u8 = 10u8
The descriptor tag value which identifies the descriptor as an Iso639LanguageDescriptor
.
sourcepub fn new(
_tag: u8,
buf: &'buf [u8]
) -> Result<Iso639LanguageDescriptor<'buf>, DescriptorError>
pub fn new( _tag: u8, buf: &'buf [u8] ) -> Result<Iso639LanguageDescriptor<'buf>, DescriptorError>
Construct a Iso639LanguageDescriptor
instance that will parse the data from the given
slice.
Trait Implementations§
Auto Trait Implementations§
impl<'buf> RefUnwindSafe for Iso639LanguageDescriptor<'buf>
impl<'buf> Send for Iso639LanguageDescriptor<'buf>
impl<'buf> Sync for Iso639LanguageDescriptor<'buf>
impl<'buf> Unpin for Iso639LanguageDescriptor<'buf>
impl<'buf> UnwindSafe for Iso639LanguageDescriptor<'buf>
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