Struct rokol::glue::sapp::Rokol [−][src]
pub struct Rokol {Show 14 fields
pub w: u32,
pub h: u32,
pub title: String,
pub msaa_sample_count: u32,
pub swap_interval: u32,
pub use_high_dpi: bool,
pub is_full_screen: bool,
pub enable_alpha: bool,
pub use_user_cursor_image: bool,
pub enable_clipboard: bool,
pub max_clipboard_size_in_bytes: u32,
pub enable_drag_and_drop: bool,
pub n_max_dropped_files: u32,
pub max_dropped_file_path_len_in_bytes: u32,
}
Expand description
Entry point of Rokol applications
Basically a wrapper of rokol_ffi::app::sapp_desc
.
Fields
w: u32
Preferred width of the window / canvas
h: u32
Preferred height of the window / canvas
title: String
Window title
msaa_sample_count: u32
swap_interval: u32
(Platform) Preferred swap interval
use_high_dpi: bool
is_full_screen: bool
enable_alpha: bool
(Platform)
use_user_cursor_image: bool
enable_clipboard: bool
max_clipboard_size_in_bytes: u32
enable_drag_and_drop: bool
n_max_dropped_files: u32
max_dropped_file_path_len_in_bytes: u32
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rokol
impl UnwindSafe for Rokol
Blanket Implementations
Mutably borrows from an owned value. Read more