Skip to main content

ElementMapMsg

Trait ElementMapMsg 

Source
pub trait ElementMapMsg<MSG>
where MSG: 'static,
{ // Required method fn map_callback<MSG2>(self, cb: Listener<MSG, MSG2>) -> Element<MSG2> where MSG2: 'static; }

Required Methods§

Source

fn map_callback<MSG2>(self, cb: Listener<MSG, MSG2>) -> Element<MSG2>
where MSG2: 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<MSG> ElementMapMsg<MSG> for Element<MSG>
where MSG: 'static,