Function mentat_ffi::value_at_index_into_entid [] [src]

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

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

Panics

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