Enum mp4::MediaConfig
source · pub enum MediaConfig {
AvcConfig(AvcConfig),
HevcConfig(HevcConfig),
Vp9Config(Vp9Config),
AacConfig(AacConfig),
TtxtConfig(TtxtConfig),
}
Variants§
AvcConfig(AvcConfig)
HevcConfig(HevcConfig)
Vp9Config(Vp9Config)
AacConfig(AacConfig)
TtxtConfig(TtxtConfig)
Trait Implementations§
source§impl Clone for MediaConfig
impl Clone for MediaConfig
source§fn clone(&self) -> MediaConfig
fn clone(&self) -> MediaConfig
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 MediaConfig
impl Debug for MediaConfig
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 PartialEq for MediaConfig
impl PartialEq for MediaConfig
source§fn eq(&self, other: &MediaConfig) -> bool
fn eq(&self, other: &MediaConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MediaConfig
impl StructuralPartialEq for MediaConfig
Auto Trait Implementations§
impl Freeze for MediaConfig
impl RefUnwindSafe for MediaConfig
impl Send for MediaConfig
impl Sync for MediaConfig
impl Unpin for MediaConfig
impl UnwindSafe for MediaConfig
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