Type Alias harfbuzz_sys::hb_unicode_mirroring_func_t

source ·
pub type hb_unicode_mirroring_func_t = Option<unsafe extern "C" fn(ufuncs: *mut hb_unicode_funcs_t, unicode: hb_codepoint_t, user_data: *mut c_void) -> hb_codepoint_t>;
Expand description

hb_unicode_mirroring_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 Bi-Directional Mirroring Glyph code point for a specified Unicode code point.

Note: If a code point does not have a specified Bi-Directional Mirroring Glyph defined, the method should return the original code point.

Return value: The #hb_codepoint_t of the Mirroring Glyph for @unicode

Aliased Type§

enum hb_unicode_mirroring_func_t {
    None,
    Some(unsafe extern "C" fn(_: *mut hb_unicode_funcs_t, _: u32, _: *mut c_void) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut hb_unicode_funcs_t, _: u32, _: *mut c_void) -> u32)

Some value of type T.