Enum libwebp_sys::WebPPreset
source · #[repr(i32)]pub enum WebPPreset {
WEBP_PRESET_DEFAULT = 0,
WEBP_PRESET_PICTURE = 1,
WEBP_PRESET_PHOTO = 2,
WEBP_PRESET_DRAWING = 3,
WEBP_PRESET_ICON = 4,
WEBP_PRESET_TEXT = 5,
}
Variants§
WEBP_PRESET_DEFAULT = 0
WEBP_PRESET_PICTURE = 1
WEBP_PRESET_PHOTO = 2
WEBP_PRESET_DRAWING = 3
WEBP_PRESET_ICON = 4
WEBP_PRESET_TEXT = 5
Trait Implementations§
source§impl Clone for WebPPreset
impl Clone for WebPPreset
source§fn clone(&self) -> WebPPreset
fn clone(&self) -> WebPPreset
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 WebPPreset
impl Debug for WebPPreset
source§impl Hash for WebPPreset
impl Hash for WebPPreset
source§impl PartialEq for WebPPreset
impl PartialEq for WebPPreset
source§fn eq(&self, other: &WebPPreset) -> bool
fn eq(&self, other: &WebPPreset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WebPPreset
impl Eq for WebPPreset
impl StructuralPartialEq for WebPPreset
Auto Trait Implementations§
impl RefUnwindSafe for WebPPreset
impl Send for WebPPreset
impl Sync for WebPPreset
impl Unpin for WebPPreset
impl UnwindSafe for WebPPreset
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