Function mentat_ffi::value_at_index_into_double [] [src]

#[no_mangle]
pub unsafe extern "C" fn value_at_index_into_double(
    values: *mut Vec<Binding>,
    index: c_int
) -> f64

Returns the value of the Binding at index as an f64.

Panics

If the ValueType of the Binding is not ValueType::Double. If there is no value at index.