pub trait PrimarySelectionDeviceHandler: Sized {
    // Required method
    fn selection(
        &mut self,
        conn: &Connection,
        qh: &QueueHandle<Self>,
        primary_selection_device: &ZwpPrimarySelectionDeviceV1
    );
}

Required Methods§

source

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.

Object Safety§

This trait is not object safe.

Implementors§