optimfn

Type Alias optimfn 

Source
pub type optimfn = Option<unsafe extern "C" fn(arg1: c_int, arg2: *mut f64, arg3: *mut c_void) -> f64>;
Expand description

main/optim.c

Aliased Type§

pub enum optimfn {
    None,
    Some(unsafe extern "C" fn(i32, *mut f64, *mut c_void) -> f64),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.