pub enum WebpEncoding {
Lossless,
Lossy,
}Expand description
Top-level still-image WebP compression mode.
Variants§
Trait Implementations§
Source§impl Clone for WebpEncoding
impl Clone for WebpEncoding
Source§fn clone(&self) -> WebpEncoding
fn clone(&self) -> WebpEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WebpEncoding
Source§impl Debug for WebpEncoding
impl Debug for WebpEncoding
impl Eq for WebpEncoding
Source§impl PartialEq for WebpEncoding
impl PartialEq for WebpEncoding
Source§fn eq(&self, other: &WebpEncoding) -> bool
fn eq(&self, other: &WebpEncoding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebpEncoding
Auto Trait Implementations§
impl Freeze for WebpEncoding
impl RefUnwindSafe for WebpEncoding
impl Send for WebpEncoding
impl Sync for WebpEncoding
impl Unpin for WebpEncoding
impl UnsafeUnpin for WebpEncoding
impl UnwindSafe for WebpEncoding
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