#[repr(u8)]pub enum DmgColor {
White = 0,
LightGrey = 1,
DarkGrey = 2,
Black = 3,
}Expand description
Color set of original GameBoy.
The constant value follows the value of GBDK drawing.h
Variants§
White = 0
0x00, WHITE color
LightGrey = 1
0x01, LTGREY color
DarkGrey = 2
0x02, DKGREY color
Black = 3
0x03, BLACK color
Trait Implementations§
impl Copy for DmgColor
impl StructuralPartialEq for DmgColor
Auto Trait Implementations§
impl Freeze for DmgColor
impl RefUnwindSafe for DmgColor
impl Send for DmgColor
impl Sync for DmgColor
impl Unpin for DmgColor
impl UnwindSafe for DmgColor
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