#[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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.