Trait glutin::platform::x11::X11GlConfigExt
source · pub trait X11GlConfigExt {
// Required method
fn x11_visual(&self) -> Option<X11VisualInfo>;
}
Available on
x11_platform
only.Expand description
The GlConfig extension trait to get X11 specific properties from a config.
Required Methods§
sourcefn x11_visual(&self) -> Option<X11VisualInfo>
fn x11_visual(&self) -> Option<X11VisualInfo>
The X11VisualInfo
that must be used to inititalize the Xlib window.
Implementors§
impl X11GlConfigExt for glutin::config::Config
impl X11GlConfigExt for glutin::api::egl::config::Config
Available on
egl_backend
only.impl X11GlConfigExt for glutin::api::glx::config::Config
Available on
glx_backend
only.