onig_sys

Type Alias OnigCallbackEachMatchFunc

Source
pub type OnigCallbackEachMatchFunc = Option<unsafe extern "C" fn(str: *const OnigUChar, end: *const OnigUChar, match_start: *const OnigUChar, region: *mut OnigRegion, user_data: *mut c_void) -> c_int>;

Aliased Type§

enum OnigCallbackEachMatchFunc {
    None,
    Some(unsafe extern "C" fn(_: *const u8, _: *const u8, _: *const u8, _: *mut re_registers, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const u8, _: *const u8, _: *const u8, _: *mut re_registers, _: *mut c_void) -> i32)

Some value of type T.