glutin::display

Trait GetDisplayExtensions

Source
pub trait GetDisplayExtensions: Sealed {
    // Required method
    fn extensions(&self) -> &HashSet<&'static str>;
}
Expand description

Obtain the underlying api extensions.

Required Methods§

Source

fn extensions(&self) -> &HashSet<&'static str>

Supported extensions by the display.

§Api-specific
  • WGL: to have extensions loaded, raw_window_handle must be used when creating the display.

Implementors§

Source§

impl GetDisplayExtensions for glutin::api::egl::display::Display

Source§

impl GetDisplayExtensions for glutin::api::glx::display::Display