///
/// Returns the font's key, a textual representation of a font. It is
/// typically used as the key for a cache or dictionary of fonts.
///
/// **See also:** [`Map`]
Returns the font's key, a textual representation of a font. It is
typically used as the key for a cache or dictionary of fonts.


Returns the font ' s key a textual representation of a font . It is typically used as the key for a cache or dictionary of fonts .
pub fn key(&self) -> String {
        let (obj_data, funcs) = self.get_font_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).key)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn key ( & self ) -> String { let ( obj_data , funcs ) = self . get_font_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . key ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
Returns the font's key, a textual representation of a font.
Returns the font ' s key a textual representation of a font .
&self