Enum sixel_sys::PixelFormat
[−]
[src]
#[repr(C)]pub enum PixelFormat { RGB555, RGB565, RGB888, BGR555, BGR565, BGR888, ARGB8888, RGBA8888, ABGR8888, BGRA8888, G1, G2, G4, G8, AG88, GA88, Pal1, Pal2, Pal4, Pal8, }
Pixel format used in input image
Variants
RGB555
15bpp
RGB565
16bpp
RGB888
24bpp
BGR555
15bpp
BGR565
16bpp
BGR888
24bpp
ARGB8888
32bpp
RGBA8888
32bpp
ABGR8888
32bpp
BGRA8888
32bpp
G1
1bpp grayscale
G2
2bpp grayscale
G4
4bpp grayscale
G8
8bpp grayscale
AG88
16bpp grayscale with alpha
GA88
16bpp grayscale with alpha
Pal1
1bpp palette
Pal2
2bpp palette
Pal4
4bpp palette
Pal8
8bpp palette
Trait Implementations
impl Debug for PixelFormat
[src]
impl Copy for PixelFormat
[src]
impl Clone for PixelFormat
[src]
fn clone(&self) -> PixelFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for PixelFormat
[src]
fn eq(&self, __arg_0: &PixelFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.