pub type EventFunction<'a> = Box<dyn Fn(f64, &[f64]) -> f64 + 'a>;
The boxed function of an Event.
Event
pub struct EventFunction<'a>(/* private fields */);