Struct rokol::Rokol [−][src]
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
impl Rokol
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rokol
[src]
impl Send for Rokol
[src]
impl Sync for Rokol
[src]
impl Unpin for Rokol
[src]
impl UnwindSafe for Rokol
[src]
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>,