StateConfig

Trait StateConfig 

Source
pub trait StateConfig {
    // Required method
    fn mode(&self) -> Result<GameBoyMode, Error>;
}

Required Methods§

Source

fn mode(&self) -> Result<GameBoyMode, Error>

Obtains the Game Boy execution mode expected by the state instance.

Implementors§