pub struct Preselection<'a> {
pub preselection_id: u8,
pub audio_rendering_indication: u8,
pub audio_description: bool,
pub spoken_subtitles: bool,
pub dialogue_enhancement: bool,
pub interactivity_enabled: bool,
pub language_code: Option<LangCode>,
pub message_id: Option<u8>,
pub aux_component_tags: Option<&'a [u8]>,
pub future_extension: Option<&'a [u8]>,
}Expand description
A single preselection entry in the audio_preselection_descriptor loop (Table 110, §6.4.1).
Fields§
§preselection_id: u8preselection_id(5).
audio_rendering_indication: u8audio_rendering_indication(3) — Table 111.
audio_description: boolaudio_description(1).
spoken_subtitles: boolspoken_subtitles(1).
dialogue_enhancement: booldialogue_enhancement(1).
interactivity_enabled: boolinteractivity_enabled(1).
language_code: Option<LangCode>ISO_639_language_code(24), present iff language_code_present.
message_id: Option<u8>message_id(8), present iff text_label_present.
component_tag bytes (num_aux_components of them), present iff multi_stream_info_present.
future_extension: Option<&'a [u8]>future_extension_byte run, present iff future_extension.
Trait Implementations§
Source§impl<'a> Clone for Preselection<'a>
impl<'a> Clone for Preselection<'a>
Source§fn clone(&self) -> Preselection<'a>
fn clone(&self) -> Preselection<'a>
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 moreSource§impl<'a> Debug for Preselection<'a>
impl<'a> Debug for Preselection<'a>
impl<'a> Eq for Preselection<'a>
Source§impl<'a> PartialEq for Preselection<'a>
impl<'a> PartialEq for Preselection<'a>
Source§fn eq(&self, other: &Preselection<'a>) -> bool
fn eq(&self, other: &Preselection<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for Preselection<'a>
impl<'a> Serialize for Preselection<'a>
impl<'a> StructuralPartialEq for Preselection<'a>
Source§impl<'a> Yokeable<'a> for Preselection<'static>
impl<'a> Yokeable<'a> for Preselection<'static>
Source§type Output = Preselection<'a>
type Output = Preselection<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for Preselection<'a>
impl<'a> RefUnwindSafe for Preselection<'a>
impl<'a> Send for Preselection<'a>
impl<'a> Sync for Preselection<'a>
impl<'a> Unpin for Preselection<'a>
impl<'a> UnsafeUnpin for Preselection<'a>
impl<'a> UnwindSafe for Preselection<'a>
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