pub trait CompletionInfoExt: 'static {
// Required methods
fn get_widget(&self) -> Option<Widget>;
fn set_widget<P: IsA<Widget>>(&self, widget: Option<&P>);
fn connect_before_show<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_before_show(&self);
}Required Methods§
fn get_widget(&self) -> Option<Widget>
fn set_widget<P: IsA<Widget>>(&self, widget: Option<&P>)
fn connect_before_show<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn emit_before_show(&self)
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.