Type Alias harfbuzz_sys::hb_font_get_nominal_glyph_func_t

source ·
pub type hb_font_get_nominal_glyph_func_t = Option<unsafe extern "C" fn(font: *mut hb_font_t, font_data: *mut c_void, unicode: hb_codepoint_t, glyph: *mut hb_codepoint_t, user_data: *mut c_void) -> hb_bool_t>;
Expand description

hb_font_get_nominal_glyph_func_t:

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

This method should retrieve the nominal glyph ID for a specified Unicode code point. Glyph IDs must be returned in a #hb_codepoint_t output parameter.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.