Trait winit::os::windows::EventsLoopExt
source · pub trait EventsLoopExt {
fn new_dpi_unaware() -> Self
where
Self: Sized;
}
Expand description
Additional methods on EventsLoop
that are specific to Windows.
Required Methods
sourcefn new_dpi_unaware() -> Selfwhere
Self: Sized,
fn new_dpi_unaware() -> Selfwhere
Self: Sized,
By default, winit on Windows will attempt to enable process-wide DPI awareness. If that’s
undesirable, you can create an EventsLoop
using this function instead.