GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1

Struct GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1 

Source
#[repr(C)]
pub struct GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1 {
Show 125 fields pub rom: *mut u8, pub rom_size: u32, pub cartridge_type: *const GB_cartridge_t, pub mbc1_wiring: GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1__bindgen_ty_1, pub is_mbc30: bool, pub pending_cycles: c_uint, pub ram: *mut u8, pub vram: *mut u8, pub mbc_ram: *mut u8, pub screen: *mut u32, pub background_palettes_rgb: [u32; 32], pub object_palettes_rgb: [u32; 32], pub dmg_palette: *const GB_palette_t, pub color_correction_mode: GB_color_correction_mode_t, pub light_temperature: f64, pub keys: [[bool; 8]; 4], pub accelerometer_x: f64, pub accelerometer_y: f64, pub border_mode: GB_border_mode_t, pub borrowed_border: GB_sgb_border_t, pub tried_loading_sgb_border: bool, pub has_sgb_border: bool, pub objects_disabled: bool, pub background_disabled: bool, pub joyp_accessed: bool, pub illegal_inputs_allowed: bool, pub no_bouncing_emulation: bool, pub joypad_is_stable: bool, pub last_sync: u64, pub cycles_since_last_sync: u64, pub rtc_mode: GB_rtc_mode_t, pub rtc_second_length: u32, pub clock_rate: u32, pub unmultiplied_clock_rate: u32, pub data_bus_decay: u32, pub apu_output: GB_apu_output_t, pub user_data: *mut c_void, pub log_callback: GB_log_callback_t, pub input_callback: GB_input_callback_t, pub async_input_callback: GB_input_callback_t, pub rgb_encode_callback: GB_rgb_encode_callback_t, pub vblank_callback: GB_vblank_callback_t, pub infrared_callback: GB_infrared_callback_t, pub camera_get_pixel_callback: GB_camera_get_pixel_callback_t, pub camera_update_request_callback: GB_camera_update_request_callback_t, pub rumble_callback: GB_rumble_callback_t, pub serial_transfer_bit_start_callback: GB_serial_transfer_bit_start_callback_t, pub serial_transfer_bit_end_callback: GB_serial_transfer_bit_end_callback_t, pub update_input_hint_callback: GB_update_input_hint_callback_t, pub joyp_write_callback: GB_joyp_write_callback_t, pub icd_pixel_callback: GB_icd_pixel_callback_t, pub icd_hreset_callback: GB_icd_vreset_callback_t, pub icd_vreset_callback: GB_icd_vreset_callback_t, pub read_memory_callback: GB_read_memory_callback_t, pub write_memory_callback: GB_write_memory_callback_t, pub boot_rom_load_callback: GB_boot_rom_load_callback_t, pub printer_callback: GB_print_image_callback_t, pub printer_done_callback: GB_printer_done_callback_t, pub workboy_set_time_callback: GB_workboy_set_time_callback, pub workboy_get_time_callback: GB_workboy_get_time_callback, pub execution_callback: GB_execution_callback_t, pub lcd_line_callback: GB_lcd_line_callback_t, pub lcd_status_callback: GB_lcd_status_callback_t, pub debugger_reload_callback: GB_debugger_reload_callback_t, pub debug_stopped: bool, pub debug_disable: bool, pub debug_fin_command: bool, pub debug_next_command: bool, pub debug_active: bool, pub help_shown: bool, pub backstep_instructions: u32, pub n_breakpoints: u16, pub breakpoints: *mut GB_breakpoint_s, pub has_jump_to_breakpoints: bool, pub has_software_breakpoints: bool, pub nontrivial_jump_state: *mut c_void, pub non_trivial_jump_breakpoint_occured: bool, pub debug_call_depth: c_int, pub sp_for_call_depth: [u16; 512], pub addr_for_call_depth: [u16; 512], pub backtrace_size: c_uint, pub backtrace_sps: [u16; 512], pub backtrace_returns: [GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1__bindgen_ty_2; 512], pub n_watchpoints: u16, pub watchpoints: *mut GB_watchpoint_s, pub bank_symbols: *mut *mut GB_symbol_map_t, pub n_symbol_maps: usize, pub reversed_symbol_map: GB_reversed_symbol_map_t, pub debugger_ticks: u64, pub absolute_debugger_ticks: u64, pub undo_state: *mut u8, pub undo_label: *const c_char, pub rewind_buffer_length: usize, pub rewind_state_size: usize, pub rewind_sequences: *mut GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1__bindgen_ty_3, pub rewind_pos: usize, pub rewind_disable_invalidation: bool, pub sgb: *mut GB_sgb_t, pub sgb_intro_jingle_phases: [f64; 7], pub sgb_intro_sweep_phase: f64, pub sgb_intro_sweep_previous_sample: f64, pub cheat_enabled: bool, pub cheat_count: usize, pub cheats: *mut *mut GB_cheat_t, pub cheat_hash: [*mut GB_cheat_hash_t; 256], pub turbo: bool, pub turbo_dont_skip: bool, pub disable_rendering: bool, pub boot_rom: [u8; 2304], pub vblank_just_occured: bool, pub cycles_since_run: c_uint, pub clock_multiplier: f64, pub rumble_mode: GB_rumble_mode_t, pub rumble_on_cycles: u32, pub rumble_off_cycles: u32, pub wx_just_changed: bool, pub tile_sel_glitch: bool, pub disable_oam_corruption: bool, pub in_dma_read: bool, pub hdma_in_progress: bool, pub returned_open_bus: bool, pub addr_for_hdma_conflict: u16, pub during_div_write: bool, pub running_thread_id: *mut c_void, pub gbs_header: GB_gbs_header_t,
}

Fields§

§rom: *mut u8§rom_size: u32§cartridge_type: *const GB_cartridge_t§mbc1_wiring: GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1__bindgen_ty_1§is_mbc30: bool§pending_cycles: c_uint§ram: *mut u8§vram: *mut u8§mbc_ram: *mut u8§screen: *mut u32§background_palettes_rgb: [u32; 32]§object_palettes_rgb: [u32; 32]§dmg_palette: *const GB_palette_t§color_correction_mode: GB_color_correction_mode_t§light_temperature: f64§keys: [[bool; 8]; 4]§accelerometer_x: f64§accelerometer_y: f64§border_mode: GB_border_mode_t§borrowed_border: GB_sgb_border_t§tried_loading_sgb_border: bool§has_sgb_border: bool§objects_disabled: bool§background_disabled: bool§joyp_accessed: bool§illegal_inputs_allowed: bool§no_bouncing_emulation: bool§joypad_is_stable: bool§last_sync: u64§cycles_since_last_sync: u64§rtc_mode: GB_rtc_mode_t§rtc_second_length: u32§clock_rate: u32§unmultiplied_clock_rate: u32§data_bus_decay: u32§apu_output: GB_apu_output_t§user_data: *mut c_void§log_callback: GB_log_callback_t§input_callback: GB_input_callback_t§async_input_callback: GB_input_callback_t§rgb_encode_callback: GB_rgb_encode_callback_t§vblank_callback: GB_vblank_callback_t§infrared_callback: GB_infrared_callback_t§camera_get_pixel_callback: GB_camera_get_pixel_callback_t§camera_update_request_callback: GB_camera_update_request_callback_t§rumble_callback: GB_rumble_callback_t§serial_transfer_bit_start_callback: GB_serial_transfer_bit_start_callback_t§serial_transfer_bit_end_callback: GB_serial_transfer_bit_end_callback_t§update_input_hint_callback: GB_update_input_hint_callback_t§joyp_write_callback: GB_joyp_write_callback_t§icd_pixel_callback: GB_icd_pixel_callback_t§icd_hreset_callback: GB_icd_vreset_callback_t§icd_vreset_callback: GB_icd_vreset_callback_t§read_memory_callback: GB_read_memory_callback_t§write_memory_callback: GB_write_memory_callback_t§boot_rom_load_callback: GB_boot_rom_load_callback_t§printer_callback: GB_print_image_callback_t§printer_done_callback: GB_printer_done_callback_t§workboy_set_time_callback: GB_workboy_set_time_callback§workboy_get_time_callback: GB_workboy_get_time_callback§execution_callback: GB_execution_callback_t§lcd_line_callback: GB_lcd_line_callback_t§lcd_status_callback: GB_lcd_status_callback_t§debugger_reload_callback: GB_debugger_reload_callback_t§debug_stopped: bool

Debugger

§debug_disable: bool

Debugger

§debug_fin_command: bool§debug_next_command: bool§debug_active: bool§help_shown: bool§backstep_instructions: u32§n_breakpoints: u16§breakpoints: *mut GB_breakpoint_s§has_jump_to_breakpoints: bool§has_software_breakpoints: bool§nontrivial_jump_state: *mut c_void§non_trivial_jump_breakpoint_occured: bool§debug_call_depth: c_int§sp_for_call_depth: [u16; 512]§addr_for_call_depth: [u16; 512]§backtrace_size: c_uint§backtrace_sps: [u16; 512]§backtrace_returns: [GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1__bindgen_ty_2; 512]§n_watchpoints: u16§watchpoints: *mut GB_watchpoint_s§bank_symbols: *mut *mut GB_symbol_map_t§n_symbol_maps: usize§reversed_symbol_map: GB_reversed_symbol_map_t§debugger_ticks: u64§absolute_debugger_ticks: u64§undo_state: *mut u8§undo_label: *const c_char§rewind_buffer_length: usize§rewind_state_size: usize§rewind_sequences: *mut GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1__bindgen_ty_3§rewind_pos: usize§rewind_disable_invalidation: bool§sgb: *mut GB_sgb_t§sgb_intro_jingle_phases: [f64; 7]§sgb_intro_sweep_phase: f64§sgb_intro_sweep_previous_sample: f64§cheat_enabled: bool§cheat_count: usize§cheats: *mut *mut GB_cheat_t§cheat_hash: [*mut GB_cheat_hash_t; 256]§turbo: bool§turbo_dont_skip: bool§disable_rendering: bool§boot_rom: [u8; 2304]§vblank_just_occured: bool§cycles_since_run: c_uint§clock_multiplier: f64§rumble_mode: GB_rumble_mode_t§rumble_on_cycles: u32§rumble_off_cycles: u32§wx_just_changed: bool§tile_sel_glitch: bool§disable_oam_corruption: bool§in_dma_read: bool§hdma_in_progress: bool§returned_open_bus: bool§addr_for_hdma_conflict: u16§during_div_write: bool§running_thread_id: *mut c_void§gbs_header: GB_gbs_header_t

Trait Implementations§

Source§

impl Clone for GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1

Source§

fn clone(&self) -> GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for GB_gameboy_internal_s__bindgen_ty_11__bindgen_ty_1

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.