Trait agde::event::IntoEvent

source ·
pub trait IntoEvent<S: ExtendVec + 'static = Vec<u8>> {
    // Required method
    fn into_ev(self, manager: &Manager) -> Event<S>;
}
Expand description

Helper trait to convert from *Event structs to Event.

Should not be implemented but used with Manager::process_event.

Required Methods§

source

fn into_ev(self, manager: &Manager) -> Event<S>

Converts self into an Event.

Implementors§