Struct yew::html::ondoubleclick::Wrapper [] [src]

pub struct Wrapper<F>(_);

A wrapper for a callback. Listener extracted from here when attached.

Trait Implementations

impl<F, MSG> From<F> for Wrapper<F> where
    MSG: 'static,
    F: Fn(MouseData) -> MSG + 'static, 
[src]

[src]

Performs the conversion.

impl<T, MSG> Listener<MSG> for Wrapper<T> where
    MSG: 'static,
    T: Fn(MouseData) -> MSG + 'static, 
[src]

[src]

Returns standard name of DOM's event.

[src]

Attaches listener to the element and uses messages pool to send prepaired event back to the yew main loop. Read more