Trait winit::platform::web::WindowExtWebSys [−][src]
pub trait WindowExtWebSys { fn canvas(&self) -> HtmlCanvasElement; fn is_dark_mode(&self) -> bool; }
Required methods
fn canvas(&self) -> HtmlCanvasElement
[src]
fn is_dark_mode(&self) -> bool
[src]
Whether the browser reports the preferred color scheme to be “dark”.
Implementors
impl WindowExtWebSys for Window
[src]
impl WindowExtWebSys for Window
[src]