Trait wayland_client::Init
[−]
[src]
pub trait Init {
fn init(&mut self, evqh: &mut EventQueueHandle, index: usize);
}A trait to initialize handlers after they've been inserted in an event queue
Works with the add_handler_with_init method of EventQueueHandle.
Required Methods
fn init(&mut self, evqh: &mut EventQueueHandle, index: usize)
Init the handler
index is the current index of the handler in the event queue (you can
use it to register objects to it)