libadwaita::subclass::prelude

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§