pub struct SubstreamInfo {
pub channel_count: u8,
pub lfe_flag: bool,
pub sampling_frequency: SamplingFrequency,
pub sample_resolution: bool,
pub reserved: u8,
pub assets: Vec<AssetInfo>,
}Expand description
substream_info() block (Table G.7).
Fields§
§channel_count: u8channel_count(5).
lfe_flag: boollfe_flag(1).
sampling_frequency: SamplingFrequencysampling_frequency(4) — coded per Table G.8.
sample_resolution: boolsample_resolution(1) — ‘1’ if decoded resolution > 16 bit.
reserved: u8reserved_future_use(2) — preserved for byte-exact round-trip.
assets: Vec<AssetInfo>asset_info() entries (num_assets + 1).
Trait Implementations§
Source§impl Clone for SubstreamInfo
impl Clone for SubstreamInfo
Source§fn clone(&self) -> SubstreamInfo
fn clone(&self) -> SubstreamInfo
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 Debug for SubstreamInfo
impl Debug for SubstreamInfo
impl Eq for SubstreamInfo
Source§impl PartialEq for SubstreamInfo
impl PartialEq for SubstreamInfo
Source§fn eq(&self, other: &SubstreamInfo) -> bool
fn eq(&self, other: &SubstreamInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubstreamInfo
impl Serialize for SubstreamInfo
Source§impl Serialize for SubstreamInfo
impl Serialize for SubstreamInfo
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for SubstreamInfo
Auto Trait Implementations§
impl Freeze for SubstreamInfo
impl RefUnwindSafe for SubstreamInfo
impl Send for SubstreamInfo
impl Sync for SubstreamInfo
impl Unpin for SubstreamInfo
impl UnsafeUnpin for SubstreamInfo
impl UnwindSafe for SubstreamInfo
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