pub struct DebugOverlaySnapshot {Show 24 fields
pub frame_stats: DebugOverlayFrameStats,
pub guest_tick: u32,
pub total_instructions: u64,
pub trap_count: u64,
pub game_trap_count: u64,
pub cursor_visible: bool,
pub cursor_level: i16,
pub cursor_data_present: bool,
pub cursor_mask_nonzero_bytes: Option<usize>,
pub cursor_hotspot: Option<(i16, i16)>,
pub cursor_position: (i16, i16),
pub mouse_button: bool,
pub fullscreen_locked: bool,
pub mbar_height: u16,
pub screen_width: u16,
pub screen_height: u16,
pub pixel_size: u16,
pub front_window: u32,
pub window_bounds: (i16, i16, i16, i16),
pub window_count: usize,
pub menu_count: usize,
pub halted: bool,
pub halted_trap: Option<u16>,
pub halted_pc: Option<u32>,
}Fields§
§frame_stats: DebugOverlayFrameStats§guest_tick: u32§total_instructions: u64§trap_count: u64§game_trap_count: u64§cursor_visible: bool§cursor_level: i16§cursor_data_present: bool§cursor_mask_nonzero_bytes: Option<usize>§cursor_hotspot: Option<(i16, i16)>§cursor_position: (i16, i16)§fullscreen_locked: bool§mbar_height: u16§screen_width: u16§screen_height: u16§pixel_size: u16§front_window: u32§window_bounds: (i16, i16, i16, i16)§window_count: usize§halted: bool§halted_trap: Option<u16>§halted_pc: Option<u32>Implementations§
Trait Implementations§
Source§impl Clone for DebugOverlaySnapshot
impl Clone for DebugOverlaySnapshot
Source§fn clone(&self) -> DebugOverlaySnapshot
fn clone(&self) -> DebugOverlaySnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DebugOverlaySnapshot
impl RefUnwindSafe for DebugOverlaySnapshot
impl Send for DebugOverlaySnapshot
impl Sync for DebugOverlaySnapshot
impl Unpin for DebugOverlaySnapshot
impl UnsafeUnpin for DebugOverlaySnapshot
impl UnwindSafe for DebugOverlaySnapshot
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