pub trait GtkSocketExt: 'static {
// Required methods
fn add_id(&self, window: Window);
fn get_id(&self) -> Window;
fn get_plug_window(&self) -> Option<Window>;
fn connect_plug_added<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_plug_removed<F: Fn(&Self) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn add_id(&self, window: Window)
fn get_id(&self) -> Window
fn get_plug_window(&self) -> Option<Window>
fn connect_plug_added<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_plug_removed<F: Fn(&Self) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId
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.