Enum webp::PixelLayout
source · pub enum PixelLayout {
Rgb,
Rgba,
}
Expand description
Describes the pixel layout (the order of the color channels) of an image.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for PixelLayout
impl Clone for PixelLayout
source§fn clone(&self) -> PixelLayout
fn clone(&self) -> PixelLayout
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 PixelLayout
impl Debug for PixelLayout
source§impl PartialEq for PixelLayout
impl PartialEq for PixelLayout
source§fn eq(&self, other: &PixelLayout) -> bool
fn eq(&self, other: &PixelLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PixelLayout
impl Eq for PixelLayout
impl StructuralPartialEq for PixelLayout
Auto Trait Implementations§
impl Freeze for PixelLayout
impl RefUnwindSafe for PixelLayout
impl Send for PixelLayout
impl Sync for PixelLayout
impl Unpin for PixelLayout
impl UnwindSafe for PixelLayout
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