[][src]Trait typed_html::events::IntoEventHandler

pub trait IntoEventHandler<T: OutputType, E> {
    fn into_event_handler(self) -> Box<dyn EventHandler<T, E>>;
}

Trait for building event handlers from other types.

Required methods

fn into_event_handler(self) -> Box<dyn EventHandler<T, E>>

Construct an event handler from an instance of the source type.

Loading content...

Implementations on Foreign Types

impl IntoEventHandler<String, StringEvent> for &'static str[src]

impl IntoEventHandler<String, StringEvent> for String[src]

Loading content...

Implementors

Loading content...