Trait GpuDisplayExt

Source
pub trait GpuDisplayExt {
    // Required methods
    fn import_event_device(
        &mut self,
        event_device: EventDevice,
    ) -> GpuDisplayResult<u32>;
    fn handle_event_device(&mut self, event_device_id: u32);
}

Required Methods§

Source

fn import_event_device( &mut self, event_device: EventDevice, ) -> GpuDisplayResult<u32>

Imports the given event_device into the display, returning an event device id on success. This device may be used to dispatch input events to the guest.

Source

fn handle_event_device(&mut self, event_device_id: u32)

Called when an event device is readable.

Implementors§