#[non_exhaustive]pub enum CodecSettings {
H264(Box<H264CodecSettings>),
H265(Box<H265CodecSettings>),
Vp9(Box<Vp9CodecSettings>),
}
Expand description
Codec settings can be h264, h265, or vp9.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
H264(Box<H264CodecSettings>)
H264 codec settings.
H265(Box<H265CodecSettings>)
H265 codec settings.
Vp9(Box<Vp9CodecSettings>)
VP9 codec settings.
Trait Implementations§
Source§impl Clone for CodecSettings
impl Clone for CodecSettings
Source§fn clone(&self) -> CodecSettings
fn clone(&self) -> CodecSettings
Returns a duplicate 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 CodecSettings
impl Debug for CodecSettings
Source§impl PartialEq for CodecSettings
impl PartialEq for CodecSettings
impl StructuralPartialEq for CodecSettings
Auto Trait Implementations§
impl Freeze for CodecSettings
impl RefUnwindSafe for CodecSettings
impl Send for CodecSettings
impl Sync for CodecSettings
impl Unpin for CodecSettings
impl UnwindSafe for CodecSettings
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