pub fn style_name(&self) -> String {
        let (obj_data, funcs) = self.get_font_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).style_name)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
///
/// Returns the requested font style name. This can be used to match the
/// font with irregular styles (that can't be normalized in other style
/// properties).
///
/// **See also:** [`set_family()`]
/// [`set_style()`]
Returns the requested font style name. This can be used to match the
font with irregular styles (that can't be normalized in other style
properties).


Returns the requested font style name . This can be used to match the font with irregular styles ( that can ' t be normalized in other style properties ) .
pub fn style_name(&self) -> String {
        let (obj_data, funcs) = self.get_font_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).style_name)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn style_name ( & self ) -> String { let ( obj_data , funcs ) = self . get_font_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . style_name ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
Returns the requested font style name.
Returns the requested font style name .
&self
&self