pub type utf8proc_custom_func = Option<unsafe extern "C" fn(codepoint: utf8proc_int32_t, data: *mut c_void) -> utf8proc_int32_t>;Expand description
Function pointer type passed to utf8proc_map_custom() and utf8proc_decompose_custom(), which is used to specify a user-defined mapping of codepoints to be applied in conjunction with other mappings.
Aliased Type§
pub enum utf8proc_custom_func {
None,
Some(unsafe extern "C" fn(i32, *mut c_void) -> i32),
}