pub struct GameBoyConfig {
pub is_dmg: bool,
}
Expand description
Custom configuration for the GameBoy
emulation inner workings
Fields§
§is_dmg: bool
Should the gameboy run in DMG mode? default is in CGB mode
Implementations§
Source§impl GameBoyConfig
impl GameBoyConfig
pub fn boot_rom_len(&self) -> usize
Trait Implementations§
Source§impl Clone for GameBoyConfig
impl Clone for GameBoyConfig
Source§fn clone(&self) -> GameBoyConfig
fn clone(&self) -> GameBoyConfig
Returns a duplicate 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 GameBoyConfig
impl Debug for GameBoyConfig
Source§impl Default for GameBoyConfig
impl Default for GameBoyConfig
Source§fn default() -> GameBoyConfig
fn default() -> GameBoyConfig
Returns the “default value” for a type. Read more
Source§impl Savable for GameBoyConfig
impl Savable for GameBoyConfig
impl Copy for GameBoyConfig
Auto Trait Implementations§
impl Freeze for GameBoyConfig
impl RefUnwindSafe for GameBoyConfig
impl Send for GameBoyConfig
impl Sync for GameBoyConfig
impl Unpin for GameBoyConfig
impl UnwindSafe for GameBoyConfig
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