Trait GLDisplay
Source pub trait GLDisplayExt: IsA<GLDisplay> + 'static {
    // Provided methods
    fn create_window(&self) -> Result<GLWindow, BoolError> { ... }
    fn filter_gl_api(&self, gl_api: GLAPI) { ... }
    fn gl_api(&self) -> GLAPI { ... }
    fn gl_api_unlocked(&self) -> GLAPI { ... }
    fn handle_type(&self) -> GLDisplayType { ... }
    fn remove_window(
        &self,
        window: &impl IsA<GLWindow>,
    ) -> Result<(), BoolError> { ... }
    fn connect_create_context<F: Fn(&Self, &GLContext) -> Option<GLContext> + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}Provided Methods§
Sourcefn create_window(&self) -> Result<GLWindow, BoolError>
 
fn create_window(&self) -> Result<GLWindow, BoolError>
Sourcefn filter_gl_api(&self, gl_api: GLAPI)
 
fn filter_gl_api(&self, gl_api: GLAPI)
limit the use of OpenGL to the requested gl_api. This is intended to allow
application and elements to request a specific set of OpenGL API’s based on
what they support. See GLContextExt::gl_api() for the retrieving the
API supported by a GLContext.
§gl_api
a GLAPI to filter with
fn gl_api_unlocked(&self) -> GLAPI
Sourcefn handle_type(&self) -> GLDisplayType
 
fn handle_type(&self) -> GLDisplayType
§Returns
the GLDisplayType of self
Sourcefn connect_create_context<F: Fn(&Self, &GLContext) -> Option<GLContext> + Send + Sync + 'static>(
    &self,
    f: F,
) -> SignalHandlerId
 
fn connect_create_context<F: Fn(&Self, &GLContext) -> Option<GLContext> + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.