Type Definition cursive::CbSink

source · []
pub type CbSink = Sender<Box<dyn FnOnce(&mut Cursive) + Send + 'static, Global>>;
Expand description

Convenient alias to the result of Cursive::cb_sink.

Notes

Callbacks need to be Send, which can be limiting in some cases.

In some case send_wrapper may help you work around that.