pub enum EncoderSettings {
Video(VideoEncoderSettings),
Audio(AudioEncoderSettings),
}
Variants§
Video(VideoEncoderSettings)
Audio(AudioEncoderSettings)
Trait Implementations§
Source§impl Clone for EncoderSettings
impl Clone for EncoderSettings
Source§fn clone(&self) -> EncoderSettings
fn clone(&self) -> EncoderSettings
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 EncoderSettings
impl Debug for EncoderSettings
Source§impl From<AudioEncoderSettings> for EncoderSettings
impl From<AudioEncoderSettings> for EncoderSettings
Source§fn from(settings: AudioEncoderSettings) -> Self
fn from(settings: AudioEncoderSettings) -> Self
Converts to this type from the input type.
Source§impl From<VideoEncoderSettings> for EncoderSettings
impl From<VideoEncoderSettings> for EncoderSettings
Source§fn from(settings: VideoEncoderSettings) -> Self
fn from(settings: VideoEncoderSettings) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncoderSettings
impl RefUnwindSafe for EncoderSettings
impl Send for EncoderSettings
impl !Sync for EncoderSettings
impl Unpin for EncoderSettings
impl UnwindSafe for EncoderSettings
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