Type Definition clicky::BoxedCallback

source ·
pub type BoxedCallback = Box<dyn FnMut() + Send>;
Expand description

Type alias for readability purposes.

API Users can pass Box::new(|| {..}) (or box || {..} in nightly) to methods where this type is expected.