pub enum WEBP_CSP_MODE {
Show 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,
}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
A variant of MODE_RGBA with premultiplied alpha
MODE_bgrA = 8
A variant of MODE_BGRA with premultiplied alpha
MODE_Argb = 9
A variant of MODE_ARGB with premultiplied alpha
MODE_rgbA_4444 = 10
A variant of MODE_RGBA_4444 with premultiplied alpha
MODE_YUV = 11
MODE_YUVA = 12
Implementations§
Source§impl WEBP_CSP_MODE
impl WEBP_CSP_MODE
pub fn from_raw(raw: WEBP_CSP_MODE) -> Self
pub fn into_raw(self) -> WEBP_CSP_MODE
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 duplicate 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 Ord for WEBP_CSP_MODE
impl Ord for WEBP_CSP_MODE
Source§fn cmp(&self, other: &WEBP_CSP_MODE) -> Ordering
fn cmp(&self, other: &WEBP_CSP_MODE) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WEBP_CSP_MODE
impl PartialEq for WEBP_CSP_MODE
Source§impl PartialOrd for WEBP_CSP_MODE
impl PartialOrd for WEBP_CSP_MODE
impl Copy for WEBP_CSP_MODE
impl Eq for WEBP_CSP_MODE
impl StructuralPartialEq for WEBP_CSP_MODE
Auto Trait Implementations§
impl Freeze for WEBP_CSP_MODE
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