pub struct LossyEncodingOptions {
pub quality: u8,
pub optimization_level: u8,
}Expand description
Lossy encoder tuning knobs.
Fields§
§quality: u8Quality from 0 to 100.
optimization_level: u8Search effort from 0 to 9.
The default 0 favors fast encode speed. 9 enables the heaviest
search profile currently implemented.
Trait Implementations§
Source§impl Clone for LossyEncodingOptions
impl Clone for LossyEncodingOptions
Source§fn clone(&self) -> LossyEncodingOptions
fn clone(&self) -> LossyEncodingOptions
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 LossyEncodingOptions
impl Debug for LossyEncodingOptions
Source§impl Default for LossyEncodingOptions
impl Default for LossyEncodingOptions
Source§impl PartialEq for LossyEncodingOptions
impl PartialEq for LossyEncodingOptions
impl Copy for LossyEncodingOptions
impl Eq for LossyEncodingOptions
impl StructuralPartialEq for LossyEncodingOptions
Auto Trait Implementations§
impl Freeze for LossyEncodingOptions
impl RefUnwindSafe for LossyEncodingOptions
impl Send for LossyEncodingOptions
impl Sync for LossyEncodingOptions
impl Unpin for LossyEncodingOptions
impl UnsafeUnpin for LossyEncodingOptions
impl UnwindSafe for LossyEncodingOptions
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