WidgetExtManual

Trait WidgetExtManual 

Source
pub trait WidgetExtManual: IsA<Widget> + 'static {
    // Provided method
    fn add_tick_callback<P: Fn(&Self, &FrameClock) -> ControlFlow + 'static>(
        &self,
        callback: P,
    ) -> TickCallbackId { ... }
}
Expand description

Trait containing manually implemented methods of Widget.

Provided Methods§

Source

fn add_tick_callback<P: Fn(&Self, &FrameClock) -> ControlFlow + 'static>( &self, callback: P, ) -> TickCallbackId

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§