///
/// Returns the global default surface format.
///
/// When setDefaultFormat() is not called, this is a default-constructed QSurfaceFormat.
///
/// **See also:** [`set_default_format()`]
Returns the global default surface format.
When setDefaultFormat() is not called, this is a default-constructed QSurfaceFormat.


Returns the global default surface format . When setDefaultFormat () is not called this is a default - constructed QSurfaceFormat .
pub fn default_format() -> SurfaceFormat<'a> {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_surface_format)(::std::ptr::null()).all_funcs)
                    .surface_format_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).default_format)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = SurfaceFormat::new_from_rc(t);
            } else {
                ret_val = SurfaceFormat::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn default_format ( ) -> SurfaceFormat < ' a > { let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_surface_format ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . surface_format_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . default_format ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = SurfaceFormat :: new_from_rc ( t ) ; } else { ret_val = SurfaceFormat :: new_from_owned ( t ) ; } ret_val } }
Returns the global default surface format.
Returns the global default surface format .