Trait wlc::event_loop::IoCallback [] [src]

pub trait IoCallback<R> {
    fn ready(&mut self, io: &mut R, event: Flags);
}

Implement this to react to events

An Implementation for FnMut is provided, so you may use a (anonymous) function instead

Required Methods

called when a new event happened

Implementors