///
/// Returns a font name for the font matching algorithm.
/// This is used if the last resort family is not available. It will
/// always return a name, if necessary returning something like
/// or .
///
/// The current implementation tries a wide variety of common fonts,
/// returning the first one it finds. The implementation may change
/// at any time, but this function will always return a string
/// containing something.
///
/// It is theoretically possible that there really isn't a
/// lastResortFont() in which case Qt will abort with an error
/// message. We have not been able to identify a case where this
/// happens. Please [report it as a bug](bughowto.html)
/// if
/// it does, preferably with a list of the fonts you have installed.
///
/// **See also:** [`last_resort_family()`]
Returns a font name for the font matching algorithm.
This is used if the last resort family is not available. It will
always return a name, if necessary returning something like
or .

The current implementation tries a wide variety of common fonts,
returning the first one it finds. The implementation may change
at any time, but this function will always return a string
containing something.

It is theoretically possible that there really isn't a
lastResortFont() in which case Qt will abort with an error
message. We have not been able to identify a case where this
happens. Please [report it as a bug](bughowto.html)
if
it does, preferably with a list of the fonts you have installed.


Returns a font name for the font matching algorithm . This is used if the last resort family is not available . It will always return a name if necessary returning something like or . The current implementation tries a wide variety of common fonts returning the first one it finds . The implementation may change at any time but this function will always return a string containing something . It is theoretically possible that there really isn ' t a lastResortFont () in which case Qt will abort with an error message . We have not been able to identify a case where this happens . Please [ report it as a bug ] ( bughowto . html ) if it does preferably with a list of the fonts you have installed .
pub fn last_resort_font(&self) -> String {
        let (obj_data, funcs) = self.get_font_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).last_resort_font)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn last_resort_font ( & self ) -> String { let ( obj_data , funcs ) = self . get_font_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . last_resort_font ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
Returns a font name for the font matching algorithm.
Returns a font name for the font matching algorithm .
&self