Struct symphonia_core::formats::Track
source · pub struct Track {
pub id: u32,
pub codec_params: CodecParameters,
pub language: Option<String>,
}
Expand description
A Track
is an independently coded media bitstream. A media format may contain multiple tracks
in one container. Each of those tracks are represented by one Track
.
Fields§
§id: u32
A unique identifier for the track.
codec_params: CodecParameters
The codec parameters for the track.
language: Option<String>
The language of the track. May be unknown.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Track
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnwindSafe for Track
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)