///
/// Returns the requested surface format of this window.
///
/// If the requested format was not supported by the platform implementation,
/// the requestedFormat will differ from the actual window format.
///
/// This is the value set with setFormat().
///
/// **See also:** [`set_format()`]
/// [`format()`]
Returns the requested surface format of this window.
If the requested format was not supported by the platform implementation,
the requestedFormat will differ from the actual window format.

This is the value set with setFormat().


Returns the requested surface format of this window . If the requested format was not supported by the platform implementation the requestedFormat will differ from the actual window format . This is the value set with setFormat () .
pub fn requested_format(&self) -> SurfaceFormat {
        let (obj_data, funcs) = self.get_window_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).requested_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 requested_format ( & self ) -> SurfaceFormat { let ( obj_data , funcs ) = self . get_window_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . requested_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 requested surface format of this window.
Returns the requested surface format of this window .
&self