Enum libheif_rs::EncoderQuality
source · pub enum EncoderQuality {
LossLess,
Lossy(u8),
}
Variants§
LossLess
Lossy(u8)
Value inside variant is a ‘quality’ factor (0-100). How this is mapped to actual encoding parameters is encoder dependent.
Trait Implementations§
source§impl Clone for EncoderQuality
impl Clone for EncoderQuality
source§fn clone(&self) -> EncoderQuality
fn clone(&self) -> EncoderQuality
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 EncoderQuality
impl Debug for EncoderQuality
source§impl Hash for EncoderQuality
impl Hash for EncoderQuality
source§impl PartialEq for EncoderQuality
impl PartialEq for EncoderQuality
source§fn eq(&self, other: &EncoderQuality) -> bool
fn eq(&self, other: &EncoderQuality) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncoderQuality
impl StructuralPartialEq for EncoderQuality
Auto Trait Implementations§
impl Freeze for EncoderQuality
impl RefUnwindSafe for EncoderQuality
impl Send for EncoderQuality
impl Sync for EncoderQuality
impl Unpin for EncoderQuality
impl UnwindSafe for EncoderQuality
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