pub struct AdaptationFieldExtension {
pub length: u8,
pub ltw_flag: bool,
pub piecewise_rate_flag: bool,
pub seamless_splice_flag: bool,
pub ltw_valid_flag: Option<bool>,
pub ltw_offset: Option<u16>,
pub piecewise_rate: Option<u32>,
pub splice_type: Option<u8>,
pub dts_next_au: Option<u64>,
}Expand description
Parsed adaptation_field_extension body (§2.4.3.5, Table 2-6).
Fields§
§length: u8Value of the adaptation_field_extension_length byte (count of
bytes after it, including reserved padding).
ltw_flag: boolltw_flag.
piecewise_rate_flag: boolpiecewise_rate_flag.
seamless_splice_flag: boolseamless_splice_flag.
ltw_valid_flag: Option<bool>ltw_valid_flag, when Self::ltw_flag.
ltw_offset: Option<u16>15-bit ltw_offset, when Self::ltw_flag. Meaningful only if
ltw_valid_flag == Some(true) per §2.4.3.5.
piecewise_rate: Option<u32>22-bit piecewise_rate (units of 50 bytes/s · 8 bits/byte ÷ R
per §2.4.3.5), when Self::piecewise_rate_flag.
splice_type: Option<u8>4-bit splice_type (§2.4.3.5 / Tables 2-7..2-16), when
Self::seamless_splice_flag.
dts_next_au: Option<u64>33-bit DTS_next_AU (90 kHz units), when
Self::seamless_splice_flag.
Trait Implementations§
Source§impl Clone for AdaptationFieldExtension
impl Clone for AdaptationFieldExtension
Source§fn clone(&self) -> AdaptationFieldExtension
fn clone(&self) -> AdaptationFieldExtension
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 AdaptationFieldExtension
Source§impl Debug for AdaptationFieldExtension
impl Debug for AdaptationFieldExtension
Source§impl Default for AdaptationFieldExtension
impl Default for AdaptationFieldExtension
Source§fn default() -> AdaptationFieldExtension
fn default() -> AdaptationFieldExtension
Returns the “default value” for a type. Read more
impl Eq for AdaptationFieldExtension
Source§impl PartialEq for AdaptationFieldExtension
impl PartialEq for AdaptationFieldExtension
Source§fn eq(&self, other: &AdaptationFieldExtension) -> bool
fn eq(&self, other: &AdaptationFieldExtension) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AdaptationFieldExtension
Auto Trait Implementations§
impl Freeze for AdaptationFieldExtension
impl RefUnwindSafe for AdaptationFieldExtension
impl Send for AdaptationFieldExtension
impl Sync for AdaptationFieldExtension
impl Unpin for AdaptationFieldExtension
impl UnsafeUnpin for AdaptationFieldExtension
impl UnwindSafe for AdaptationFieldExtension
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