Enum libwebp_sys::WEBP_CSP_MODE
source · #[repr(i32)]pub enum WEBP_CSP_MODE {
Show 14 variants
MODE_RGB = 0,
MODE_RGBA = 1,
MODE_BGR = 2,
MODE_BGRA = 3,
MODE_ARGB = 4,
MODE_RGBA_4444 = 5,
MODE_RGB_565 = 6,
MODE_rgbA = 7,
MODE_bgrA = 8,
MODE_Argb = 9,
MODE_rgbA_4444 = 10,
MODE_YUV = 11,
MODE_YUVA = 12,
MODE_LAST = 13,
}
Variants§
MODE_RGB = 0
MODE_RGBA = 1
MODE_BGR = 2
MODE_BGRA = 3
MODE_ARGB = 4
MODE_RGBA_4444 = 5
MODE_RGB_565 = 6
MODE_rgbA = 7
MODE_bgrA = 8
MODE_Argb = 9
MODE_rgbA_4444 = 10
MODE_YUV = 11
MODE_YUVA = 12
MODE_LAST = 13
Trait Implementations§
source§impl Clone for WEBP_CSP_MODE
impl Clone for WEBP_CSP_MODE
source§fn clone(&self) -> WEBP_CSP_MODE
fn clone(&self) -> WEBP_CSP_MODE
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 WEBP_CSP_MODE
impl Debug for WEBP_CSP_MODE
source§impl Hash for WEBP_CSP_MODE
impl Hash for WEBP_CSP_MODE
source§impl PartialEq for WEBP_CSP_MODE
impl PartialEq for WEBP_CSP_MODE
source§fn eq(&self, other: &WEBP_CSP_MODE) -> bool
fn eq(&self, other: &WEBP_CSP_MODE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WEBP_CSP_MODE
impl Eq for WEBP_CSP_MODE
impl StructuralPartialEq for WEBP_CSP_MODE
Auto Trait Implementations§
impl RefUnwindSafe for WEBP_CSP_MODE
impl Send for WEBP_CSP_MODE
impl Sync for WEBP_CSP_MODE
impl Unpin for WEBP_CSP_MODE
impl UnwindSafe for WEBP_CSP_MODE
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