pub enum PixelFormat {
ARGB8888,
RGB565,
ARGB1555,
ARGB4444,
L8,
AL44,
AL88,
}
Expand description
Available PixelFormats to work with
Notes :
L8
: 8-bit luminance or CLUTAL44
: 4-bit alpha + 4-bit luminanceAL88
: 8-bit alpha + 8-bit luminance
Variants§
Auto Trait Implementations§
impl Freeze for PixelFormat
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
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