[][src]Trait winflip::Window

pub trait Window {
    fn is_valid() -> bool { ... }
fn width() -> u32 { ... }
fn height() -> u32 { ... }
fn high_dpi() -> bool { ... }
fn dpi_scale() -> f32 { ... }
fn show_keyboard(_visible: bool) { ... }
fn keyboard_shown() -> bool { ... }
fn show_mouse(_visible: bool) { ... }
fn mouse_shown() -> bool { ... }
fn query_desc() -> Desc { ... }
fn request_quit() { ... }
fn cancel_quit() { ... }
fn quit() { ... }
fn consume_event() { ... }
fn frame_count() -> u64 { ... }
fn set_clipboard_string(_: &str) { ... }
fn get_clipboard_string() -> String { ... } }

Basically the public API, the sapp_*() functions in Sokol Backends implement this, for now.

Provided methods

Loading content...

Implementors

Loading content...