Trait WidgetExtManual

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

Trait containing manually implemented methods of Widget.

Provided Methods§

Source

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

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§

Source§

impl<O> WidgetExtManual for O
where O: IsA<Widget>,