pub fn to_pixel_format(format: Format) -> PixelFormat<'a> {
        let enum_format_1 = format as u32;

        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_image)(::std::ptr::null()).all_funcs).image_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).to_pixel_format)(obj_data, enum_format_1);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = PixelFormat::new_from_rc(t);
            } else {
                ret_val = PixelFormat::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Converts *format* into a QPixelFormat
Converts *format* into a QPixelFormat
Converts * format * into a QPixelFormat
pub fn to_pixel_format(format: Format) -> PixelFormat<'a> {
        let enum_format_1 = format as u32;
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_image)(::std::ptr::null()).all_funcs).image_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).to_pixel_format)(obj_data, enum_format_1);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = PixelFormat::new_from_rc(t);
            } else {
                ret_val = PixelFormat::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn to_pixel_format ( format : Format ) -> PixelFormat < ' a > { let enum_format_1 = format as u32 ; let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_image ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . image_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . to_pixel_format ) ( obj_data , enum_format_1 ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = PixelFormat :: new_from_rc ( t ) ; } else { ret_val = PixelFormat :: new_from_owned ( t ) ; } ret_val } }
Converts *format* into a QPixelFormat
Converts * format * into a QPixelFormat
format
Format
format
Format