1 2 3 4 5 6 7 8
#[derive(Clone, Debug, PartialEq, Eq)] pub enum Interrupt { Vblank = 0, Lcd = 1, Timer = 2, Serial = 3, Joypad = 4, }