pub struct InitHints {
pub vsync: bool,
pub fullscreen: bool,
pub gl_version: GlRequest,
pub gl_profile: GlProfile,
pub hardware_acceleration: bool,
pub srgb: bool,
pub frame_sleep_time: Option<f32>,
pub resize_scaling: bool,
pub desired_gutter: u32,
pub fitscreen: bool,
}
Fields
vsync: bool
fullscreen: bool
gl_version: GlRequest
gl_profile: GlProfile
hardware_acceleration: bool
srgb: bool
frame_sleep_time: Option<f32>
resize_scaling: bool
desired_gutter: u32
fitscreen: bool
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InitHints
impl Send for InitHints
impl Sync for InitHints
impl Unpin for InitHints
impl UnwindSafe for InitHints
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more