Trait PopupHandler

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);
}
Available on crate feature wayland and Linux only.

Required Methods§

fn configure( &mut self, conn: &Connection, qh: &QueueHandle<Self>, popup: &Popup, config: PopupConfigure, )

The popup has been configured.

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.

Implementors§