#[repr(u8)]
pub enum CM_A {
Argb8888,
Rgb888,
Rgb565,
Argb1555,
Argb4444,
L8,
Al44,
Al88,
L4,
A8,
A4,
YcbCr,
}
Expand description
Color mode These bits defines the color format of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, they are read-only. others: meaningless
Value on reset: 0
Variants
Argb8888
0: Color mode ARGB8888
Rgb888
1: Color mode RGB888
Rgb565
2: Color mode RGB565
Argb1555
3: Color mode ARGB1555
Argb4444
4: Color mode ARGB4444
L8
5: Color mode L8
Al44
6: Color mode AL44
Al88
7: Color mode AL88
L4
8: Color mode L4
A8
9: Color mode A8
A4
10: Color mode A4
YcbCr
11: Color mode YCbCr
Trait Implementations
impl Copy for CM_A
impl StructuralPartialEq for CM_A
Auto Trait Implementations
impl RefUnwindSafe for CM_A
impl Send for CM_A
impl Sync for CM_A
impl Unpin for CM_A
impl UnwindSafe for CM_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more