Trait glutin::display::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

Available on egl_backend only.
source§

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

Available on glx_backend only.