Skip to main content

HasWindowHandler

Trait HasWindowHandler 

Source
pub trait HasWindowHandler {
    // Required method
    fn window_handler(&self) -> WindowHandler;
}
Expand description

Provider of a raw pointer to a system window.

Required Methods§

Source

fn window_handler(&self) -> WindowHandler

Returns a window handler for the current platform.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl HasWindowHandler for Window

Available on crate feature dh only.