Type Definition cursive::CbSink[][src]

type CbSink = Sender<Box<dyn FnOnce(&mut Cursive) + 'static + Send, 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.