Trait yew::html::IntoEventCallback[][src]

pub trait IntoEventCallback<EVENT> {
    fn into_event_callback(self) -> Option<Callback<EVENT>>;
}
Expand description

A trait similar to Into<T> which allows conversion of a value into a Callback. This is used for event listeners.

Required methods

Convert self to Option<Callback<EVENT>>

Implementations on Foreign Types

Implementors