#[non_exhaustive]pub struct DecoderTrackInfo {
pub gapless: Option<GaplessInfo>,
}Expand description
Decoder-owned per-track playback contract.
#[non_exhaustive] because callers in this crate construct it by
..Default::default() spread and additional fields (e.g. encoder
delay metadata, container-level flags) are expected to land here in
follow-up port commits.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.gapless: Option<GaplessInfo>Gapless trim information applied by the engine pipeline.
Trait Implementations§
Source§impl Clone for DecoderTrackInfo
impl Clone for DecoderTrackInfo
Source§fn clone(&self) -> DecoderTrackInfo
fn clone(&self) -> DecoderTrackInfo
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 DecoderTrackInfo
impl Debug for DecoderTrackInfo
Source§impl Default for DecoderTrackInfo
impl Default for DecoderTrackInfo
Source§fn default() -> DecoderTrackInfo
fn default() -> DecoderTrackInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for DecoderTrackInfo
impl PartialEq for DecoderTrackInfo
Source§fn eq(&self, other: &DecoderTrackInfo) -> bool
fn eq(&self, other: &DecoderTrackInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DecoderTrackInfo
impl StructuralPartialEq for DecoderTrackInfo
Auto Trait Implementations§
impl Freeze for DecoderTrackInfo
impl RefUnwindSafe for DecoderTrackInfo
impl Send for DecoderTrackInfo
impl Sync for DecoderTrackInfo
impl Unpin for DecoderTrackInfo
impl UnsafeUnpin for DecoderTrackInfo
impl UnwindSafe for DecoderTrackInfo
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