pub trait GLAreaImpl: GLAreaImplExt + WidgetImpl {
// Provided methods
fn create_context(&self) -> Option<GLContext> { ... }
fn render(&self, context: &GLContext) -> Propagation { ... }
fn resize(&self, width: i32, height: i32) { ... }
}
Provided Methods§
Sourcefn create_context(&self) -> Option<GLContext>
fn create_context(&self) -> Option<GLContext>
class closure for the GtkGLArea::create-context
signal
Sourcefn render(&self, context: &GLContext) -> Propagation
fn render(&self, context: &GLContext) -> Propagation
class closure for the GtkGLArea::render
signal
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.