Skip to main content

RendererBindingOverrides

Trait RendererBindingOverrides 

Source
pub trait RendererBindingOverrides {
    // Required methods
    fn will_draw_frame(&self, app: &mut App);
    fn did_draw_frame(&self, app: &mut App);
    fn did_handle_metrics_changed(&self, app: &mut App);
}
Expand description

What the binding above this one adds around drawFrame; kept erased.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: RendererBindingOverridesObject> RendererBindingOverrides for Handle<T>

Source§

fn will_draw_frame(&self, app: &mut App)

Source§

fn did_draw_frame(&self, app: &mut App)

Source§

fn did_handle_metrics_changed(&self, app: &mut App)

Implementors§