pub enum QualityThreshold {
Lossless,
SubPerceptual,
NearLossless,
MaxBucket(LossBucket),
}Expand description
Quality threshold for path selection.
Variants§
Lossless
Zero information loss (ULP-proven round-trip where available).
SubPerceptual
Below JND (ΔE < 0.5, model loss ≤ 10).
NearLossless
Minimal visible loss (ΔE < 2.0, model loss ≤ 50).
MaxBucket(LossBucket)
Fastest path within the given loss bucket.
Trait Implementations§
Source§impl Clone for QualityThreshold
impl Clone for QualityThreshold
Source§fn clone(&self) -> QualityThreshold
fn clone(&self) -> QualityThreshold
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 QualityThreshold
impl Debug for QualityThreshold
impl Copy for QualityThreshold
Auto Trait Implementations§
impl Freeze for QualityThreshold
impl RefUnwindSafe for QualityThreshold
impl Send for QualityThreshold
impl Sync for QualityThreshold
impl Unpin for QualityThreshold
impl UnsafeUnpin for QualityThreshold
impl UnwindSafe for QualityThreshold
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