pub enum Quality {
UltraFast,
VeryFast,
Fast,
Basic,
Slow,
VerySlow,
}Expand description
Universal quality preset all encoders understand.
Presets trade encode speed for output quality, from fastest/lowest to slowest/highest. Each encoder maps these onto its own native effort levels.
Variants§
UltraFast
Fastest encode, lowest quality.
VeryFast
Very fast encode, low quality.
Fast
Fast encode, moderate quality.
Basic
Balanced speed/quality — the default.
Slow
Slow encode, high quality.
VerySlow
Slowest encode, highest quality.
Trait Implementations§
impl Copy for Quality
impl Eq for Quality
impl StructuralPartialEq for Quality
Auto Trait Implementations§
impl Freeze for Quality
impl RefUnwindSafe for Quality
impl Send for Quality
impl Sync for Quality
impl Unpin for Quality
impl UnsafeUnpin for Quality
impl UnwindSafe for Quality
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