Struct sapp_linux::sapp_desc [−][src]
Fields
init_cb: Option<unsafe extern "C" fn()>
frame_cb: Option<unsafe extern "C" fn()>
cleanup_cb: Option<unsafe extern "C" fn()>
event_cb: Option<unsafe extern "C" fn(_: *const sapp_event)>
fail_cb: Option<unsafe extern "C" fn(_: *const c_char)>
user_data: *mut c_void
init_userdata_cb: Option<unsafe extern "C" fn(_: *mut c_void)>
frame_userdata_cb: Option<unsafe extern "C" fn(_: *mut c_void)>
cleanup_userdata_cb: Option<unsafe extern "C" fn(_: *mut c_void)>
event_userdata_cb: Option<unsafe extern "C" fn(_: *const sapp_event, _: *mut c_void)>
fail_userdata_cb: Option<unsafe extern "C" fn(_: *const c_char, _: *mut c_void)>
width: c_int
height: c_int
sample_count: c_int
swap_interval: c_int
high_dpi: bool
fullscreen: bool
alpha: bool
window_title: *const c_char
user_cursor: bool
html5_canvas_name: *const c_char
html5_canvas_resize: bool
html5_preserve_drawing_buffer: bool
html5_premultiplied_alpha: bool
html5_ask_leave_site: bool
ios_keyboard_resizes_canvas: bool
gl_force_gles2: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for sapp_desc
impl !Send for sapp_desc
impl !Sync for sapp_desc
impl Unpin for sapp_desc
impl UnwindSafe for sapp_desc
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,