Skip to main content

EventFn

Type Alias EventFn 

Source
pub type EventFn<T> = Box<dyn Fn(T, &[T]) -> T>;
Expand description

Event function type: fn(t, y) -> T. Integration stops when the return value crosses zero.

Aliased Type§

pub struct EventFn<T>(/* private fields */);