pub enum PixelFmt {
Argb8888,
Rgb565,
L8,
A8,
A4,
}Expand description
Supported pixel formats.
Variants§
Argb8888
32-bit ARGB8888 format.
Rgb565
16-bit RGB565 format.
L8
8-bit grayscale format.
A8
8-bit alpha-only format.
A4
4-bit alpha-only format.
Trait Implementations§
impl Copy for PixelFmt
impl Eq for PixelFmt
impl StructuralPartialEq for PixelFmt
Auto Trait Implementations§
impl Freeze for PixelFmt
impl RefUnwindSafe for PixelFmt
impl Send for PixelFmt
impl Sync for PixelFmt
impl Unpin for PixelFmt
impl UnsafeUnpin for PixelFmt
impl UnwindSafe for PixelFmt
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