#[repr(u8)]
pub enum PIXEL0FORMAT_A {
ARGB0555,
ARGB0565,
ARGB0666,
ARGB0888,
ARGB5555,
ARGB6565,
ARGB6666,
ARGB8888,
}
Expand description
Sprite Pixel Color Format
Value on reset: 0
Variants§
ARGB0555
0: ARGB data is 0555
ARGB0565
1: ARGB data is 0565
ARGB0666
2: ARGB data is 0666
ARGB0888
3: ARGB data is 0888
ARGB5555
4: ARGB data is 5555
ARGB6565
5: ARGB data is 6565
ARGB6666
6: ARGB data is 6666
ARGB8888
7: ARGB data is 8888
Trait Implementations§
source§impl Clone for PIXEL0FORMAT_A
impl Clone for PIXEL0FORMAT_A
source§fn clone(&self) -> PIXEL0FORMAT_A
fn clone(&self) -> PIXEL0FORMAT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PIXEL0FORMAT_A
impl Debug for PIXEL0FORMAT_A
source§impl From<PIXEL0FORMAT_A> for u8
impl From<PIXEL0FORMAT_A> for u8
source§fn from(variant: PIXEL0FORMAT_A) -> Self
fn from(variant: PIXEL0FORMAT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<PIXEL0FORMAT_A> for PIXEL0FORMAT_A
impl PartialEq<PIXEL0FORMAT_A> for PIXEL0FORMAT_A
source§fn eq(&self, other: &PIXEL0FORMAT_A) -> bool
fn eq(&self, other: &PIXEL0FORMAT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.