Struct mp4::TrackConfig
source · pub struct TrackConfig {
pub track_type: TrackType,
pub timescale: u32,
pub language: String,
pub media_conf: MediaConfig,
}
Fields§
§track_type: TrackType
§timescale: u32
§language: String
§media_conf: MediaConfig
Trait Implementations§
source§impl Clone for TrackConfig
impl Clone for TrackConfig
source§fn clone(&self) -> TrackConfig
fn clone(&self) -> TrackConfig
Returns a copy of the value. Read more
1.0.0 · 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 TrackConfig
impl Debug for TrackConfig
source§impl From<AacConfig> for TrackConfig
impl From<AacConfig> for TrackConfig
source§impl From<AvcConfig> for TrackConfig
impl From<AvcConfig> for TrackConfig
source§impl From<HevcConfig> for TrackConfig
impl From<HevcConfig> for TrackConfig
source§fn from(hevc_conf: HevcConfig) -> Self
fn from(hevc_conf: HevcConfig) -> Self
Converts to this type from the input type.
source§impl From<MediaConfig> for TrackConfig
impl From<MediaConfig> for TrackConfig
source§fn from(media_conf: MediaConfig) -> Self
fn from(media_conf: MediaConfig) -> Self
Converts to this type from the input type.
source§impl From<TtxtConfig> for TrackConfig
impl From<TtxtConfig> for TrackConfig
source§fn from(txtt_conf: TtxtConfig) -> Self
fn from(txtt_conf: TtxtConfig) -> Self
Converts to this type from the input type.
source§impl From<Vp9Config> for TrackConfig
impl From<Vp9Config> for TrackConfig
source§impl PartialEq for TrackConfig
impl PartialEq for TrackConfig
source§fn eq(&self, other: &TrackConfig) -> bool
fn eq(&self, other: &TrackConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TrackConfig
impl StructuralPartialEq for TrackConfig
Auto Trait Implementations§
impl Freeze for TrackConfig
impl RefUnwindSafe for TrackConfig
impl Send for TrackConfig
impl Sync for TrackConfig
impl Unpin for TrackConfig
impl UnwindSafe for TrackConfig
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