pub enum WebpCompression {
Lossy,
Lossless,
}Expand description
WebP compression mode (lossy / lossless). WebP compression mode.
Variants§
Trait Implementations§
Source§impl Clone for WebpCompression
impl Clone for WebpCompression
Source§fn clone(&self) -> WebpCompression
fn clone(&self) -> WebpCompression
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 WebpCompression
Source§impl Debug for WebpCompression
impl Debug for WebpCompression
impl Eq for WebpCompression
Source§impl PartialEq for WebpCompression
impl PartialEq for WebpCompression
Source§fn eq(&self, other: &WebpCompression) -> bool
fn eq(&self, other: &WebpCompression) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebpCompression
Auto Trait Implementations§
impl Freeze for WebpCompression
impl RefUnwindSafe for WebpCompression
impl Send for WebpCompression
impl Sync for WebpCompression
impl Unpin for WebpCompression
impl UnsafeUnpin for WebpCompression
impl UnwindSafe for WebpCompression
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