pub trait PopupHandler: Sized {
// Required methods
fn configure(
&mut self,
conn: &Connection,
qh: &QueueHandle<Self>,
popup: &Popup,
config: PopupConfigure,
);
fn done(&mut self, conn: &Connection, qh: &QueueHandle<Self>, popup: &Popup);
}
Required Methods§
Sourcefn configure(
&mut self,
conn: &Connection,
qh: &QueueHandle<Self>,
popup: &Popup,
config: PopupConfigure,
)
fn configure( &mut self, conn: &Connection, qh: &QueueHandle<Self>, popup: &Popup, config: PopupConfigure, )
The popup has been configured.
Sourcefn done(&mut self, conn: &Connection, qh: &QueueHandle<Self>, popup: &Popup)
fn done(&mut self, conn: &Connection, qh: &QueueHandle<Self>, popup: &Popup)
The popup was dismissed by the compositor and should be destroyed.
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.