Trait typed_html::events::IntoEventHandler
source · pub trait IntoEventHandler<T: OutputType, E> {
fn into_event_handler(self) -> Box<dyn EventHandler<T, E>>;
}
Expand description
Trait for building event handlers from other types.
Required Methods
sourcefn into_event_handler(self) -> Box<dyn EventHandler<T, E>>
fn into_event_handler(self) -> Box<dyn EventHandler<T, E>>
Construct an event handler from an instance of the source type.