Enum libwebp_sys::WEBP_CSP_MODE
source · [−]#[repr(u32)]
pub enum WEBP_CSP_MODE {
Show 14 variants
MODE_RGB,
MODE_RGBA,
MODE_BGR,
MODE_BGRA,
MODE_ARGB,
MODE_RGBA_4444,
MODE_RGB_565,
MODE_rgbA,
MODE_bgrA,
MODE_Argb,
MODE_rgbA_4444,
MODE_YUV,
MODE_YUVA,
MODE_LAST,
}
Variants
MODE_RGB
MODE_RGBA
MODE_BGR
MODE_BGRA
MODE_ARGB
MODE_RGBA_4444
MODE_RGB_565
MODE_rgbA
MODE_bgrA
MODE_Argb
MODE_rgbA_4444
MODE_YUV
MODE_YUVA
MODE_LAST
Trait Implementations
sourceimpl Clone for WEBP_CSP_MODE
impl Clone for WEBP_CSP_MODE
sourcefn clone(&self) -> WEBP_CSP_MODE
fn clone(&self) -> WEBP_CSP_MODE
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WEBP_CSP_MODE
impl Debug for WEBP_CSP_MODE
sourceimpl Hash for WEBP_CSP_MODE
impl Hash for WEBP_CSP_MODE
sourceimpl PartialEq<WEBP_CSP_MODE> for WEBP_CSP_MODE
impl PartialEq<WEBP_CSP_MODE> for WEBP_CSP_MODE
impl Copy for WEBP_CSP_MODE
impl Eq for WEBP_CSP_MODE
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more