GLAreaImpl

Trait GLAreaImpl 

Source
pub trait GLAreaImpl: WidgetImpl + ObjectSubclass
where Self::Type: IsA<GLArea>,
{ // Provided methods fn create_context(&self) -> Option<GLContext> { ... } fn render(&self, context: &GLContext) -> Propagation { ... } fn resize(&self, width: i32, height: i32) { ... } }

Provided Methods§

Source

fn create_context(&self) -> Option<GLContext>

Source

fn render(&self, context: &GLContext) -> Propagation

Source

fn resize(&self, width: i32, height: i32)

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.

Implementors§