Type Alias harfbuzz_sys::hb_unicode_script_func_t
source · pub type hb_unicode_script_func_t = Option<unsafe extern "C" fn(ufuncs: *mut hb_unicode_funcs_t, unicode: hb_codepoint_t, user_data: *mut c_void) -> hb_script_t>;
Expand description
hb_unicode_script_func_t: @ufuncs: A Unicode-functions structure @unicode: The code point to query @user_data: User data pointer passed by the caller
A virtual method for the #hb_unicode_funcs_t structure.
This method should retrieve the Script property for a specified Unicode code point.
Return value: The #hb_script_t of @unicode
Aliased Type§
enum hb_unicode_script_func_t {
None,
Some(unsafe extern "C" fn(_: *mut hb_unicode_funcs_t, _: u32, _: *mut c_void) -> u32),
}