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§
fn add_tick_callback<P>(&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.