Skip to main content

OdeCallbackFn

Type Alias OdeCallbackFn 

Source
pub type OdeCallbackFn<T> = Option<unsafe extern "C" fn(x: *const T, p: *const T, t: T, y: *mut T, user_data: *mut c_void) -> i32>;
Expand description

y = F(x, p, t): used for rhs, root, out and reset.

Aliased Type§

pub enum OdeCallbackFn<T> {
    None,
    Some(unsafe extern "C" fn(*const T, *const T, T, *mut T, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const T, *const T, T, *mut T, *mut c_void) -> i32)

Some value of type T.