Trait PrimarySelectionDeviceHandler

pub trait PrimarySelectionDeviceHandler: Sized {
    // Required method
    fn selection(
        &mut self,
        conn: &Connection,
        qh: &QueueHandle<Self>,
        primary_selection_device: &ZwpPrimarySelectionDeviceV1,
    );
}
Available on crate feature wayland and Linux only.

Required Methods§

fn selection( &mut self, conn: &Connection, qh: &QueueHandle<Self>, primary_selection_device: &ZwpPrimarySelectionDeviceV1, )

The new selection is received.

The given primary selection device could be used to identify PrimarySelectionDevice.

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§