utf8proc_custom_func

Type Alias utf8proc_custom_func 

Source
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),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.