pub enum DecodedImageFormat {
Gray8,
Rgb24,
Rgba32,
}Expand description
Format of decoded image pixel data.
Variants§
Gray8
8-bit grayscale (1 byte per pixel).
Rgb24
24-bit RGB (3 bytes per pixel).
Rgba32
32-bit RGBA (4 bytes per pixel).
Trait Implementations§
Source§impl Clone for DecodedImageFormat
impl Clone for DecodedImageFormat
Source§fn clone(&self) -> DecodedImageFormat
fn clone(&self) -> DecodedImageFormat
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 DecodedImageFormat
impl Debug for DecodedImageFormat
Source§impl PartialEq for DecodedImageFormat
impl PartialEq for DecodedImageFormat
impl Copy for DecodedImageFormat
impl Eq for DecodedImageFormat
impl StructuralPartialEq for DecodedImageFormat
Auto Trait Implementations§
impl Freeze for DecodedImageFormat
impl RefUnwindSafe for DecodedImageFormat
impl Send for DecodedImageFormat
impl Sync for DecodedImageFormat
impl Unpin for DecodedImageFormat
impl UnsafeUnpin for DecodedImageFormat
impl UnwindSafe for DecodedImageFormat
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