[][src]Struct sapp_linux::_sapp_state

#[repr(C)]pub struct _sapp_state {
    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],
}

Fields

valid: boolwindow_width: c_intwindow_height: c_intframebuffer_width: c_intframebuffer_height: c_intsample_count: c_intswap_interval: c_intdpi_scale: c_floatgles2_fallback: boolfirst_frame: boolinit_called: boolcleanup_called: boolquit_requested: boolquit_ordered: boolhtml5_canvas_name: *const c_charhtml5_ask_leave_site: boolwindow_title: [c_char; 128]window_title_wide: [i32; 128]frame_count: u64mouse_x: c_floatmouse_y: c_floatwin32_mouse_tracked: boolonscreen_keyboard_shown: boolevent: sapp_eventdesc: sapp_desckeycodes: [sapp_keycode; 512]

Trait Implementations

impl Clone for _sapp_state[src]

impl Copy for _sapp_state[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.