pub trait PrimarySelectionDeviceHandler: Sized {
// Required method
fn selection(
&mut self,
conn: &Connection,
qh: &QueueHandle<Self>,
primary_selection_device: &ZwpPrimarySelectionDeviceV1,
);
}Required Methods§
Sourcefn selection(
&mut self,
conn: &Connection,
qh: &QueueHandle<Self>,
primary_selection_device: &ZwpPrimarySelectionDeviceV1,
)
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.