Type Alias mrb_hash_foreach_func

Source
pub type mrb_hash_foreach_func = Option<unsafe extern "C-unwind" fn(mrb: *mut mrb_state, key: mrb_value, val: mrb_value, data: *mut c_void) -> c_int>;

Aliased Type§

enum mrb_hash_foreach_func {
    None,
    Some(unsafe extern "C-unwind" fn(*mut mrb_state, mrb_value, mrb_value, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C-unwind" fn(*mut mrb_state, mrb_value, mrb_value, *mut c_void) -> i32)

Some value of type T.