[][src]Type Definition cursive::event::AnyCb

type AnyCb<'a> = &'a mut (dyn FnMut(&mut (dyn View + 'static)) + 'a);

A callback that can be run on &mut dyn View.

It is meant to be used as parameter in View::call_on_any, and not much else.