pub enum WebpMode {
Lossless,
Lossy,
}Expand description
Which WebP bitstream the encoder produces.
Variants§
Lossless
VP8L lossless coding — the input is reproduced bit-exactly (the default; gamut’s M0 path).
Lossy
VP8 lossy coding — smaller output at a quality/size tradeoff set by WebpConfig::quality.
Trait Implementations§
impl Copy for WebpMode
impl Eq for WebpMode
impl StructuralPartialEq for WebpMode
Auto Trait Implementations§
impl Freeze for WebpMode
impl RefUnwindSafe for WebpMode
impl Send for WebpMode
impl Sync for WebpMode
impl Unpin for WebpMode
impl UnsafeUnpin for WebpMode
impl UnwindSafe for WebpMode
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