remove now unused `IntoEventHandler` trait

This commit is contained in:
Matthew Nicholson 2019-03-31 01:18:27 -04:00
parent 44436da495
commit b1d7f80dad
1 changed files with 0 additions and 6 deletions

View File

@ -24,12 +24,6 @@ pub trait EventHandler<T: OutputType, E> {
fn render(&self) -> Option<String>;
}
/// Trait for building event handlers from other types.
pub trait IntoEventHandler<T: OutputType, E> {
/// Construct an event handler from an instance of the source type.
fn into_event_handler(self) -> Box<dyn EventHandler<T, E>>;
}
macro_rules! declare_events_struct {
($($name:ident,)*) => {
pub struct Events<T> {