pub struct _sapp_state {Show 28 fields
pub valid: bool,
pub window_width: c_int,
pub window_height: c_int,
pub framebuffer_width: c_int,
pub framebuffer_height: c_int,
pub sample_count: c_int,
pub swap_interval: c_int,
pub dpi_scale: c_float,
pub gles2_fallback: bool,
pub first_frame: bool,
pub init_called: bool,
pub cleanup_called: bool,
pub quit_requested: bool,
pub quit_ordered: bool,
pub html5_canvas_name: *const c_char,
pub html5_ask_leave_site: bool,
pub window_title: [c_char; 128],
pub window_title_wide: [i32; 128],
pub frame_count: u64,
pub mouse_x: c_float,
pub mouse_y: c_float,
pub win32_mouse_tracked: bool,
pub onscreen_keyboard_shown: bool,
pub event: sapp_event,
pub desc: sapp_desc,
pub keycodes: [sapp_keycode; 512],
pub xdnd: sapp_xdnd,
pub drop: sapp_drop,
}
Fields§
§valid: bool
§window_width: c_int
§window_height: c_int
§framebuffer_width: c_int
§framebuffer_height: c_int
§sample_count: c_int
§swap_interval: c_int
§dpi_scale: c_float
§gles2_fallback: bool
§first_frame: bool
§init_called: bool
§cleanup_called: bool
§quit_requested: bool
§quit_ordered: bool
§html5_canvas_name: *const c_char
§html5_ask_leave_site: bool
§window_title: [c_char; 128]
§window_title_wide: [i32; 128]
§frame_count: u64
§mouse_x: c_float
§mouse_y: c_float
§win32_mouse_tracked: bool
§onscreen_keyboard_shown: bool
§event: sapp_event
§desc: sapp_desc
§keycodes: [sapp_keycode; 512]
§xdnd: sapp_xdnd
§drop: sapp_drop
Trait Implementations§
Source§impl Clone for _sapp_state
impl Clone for _sapp_state
Source§fn clone(&self) -> _sapp_state
fn clone(&self) -> _sapp_state
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 moreAuto Trait Implementations§
impl Freeze for _sapp_state
impl RefUnwindSafe for _sapp_state
impl !Send for _sapp_state
impl !Sync for _sapp_state
impl Unpin for _sapp_state
impl UnwindSafe for _sapp_state
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