pub fn rgb_swapped_2(&self) -> Option<Image> {
        let (obj_data, funcs) = self.get_image_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).rgb_swapped_2)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Image::new_from_rc(t);
            } else {
                ret_val = Image::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
///
/// Returns a QImage in which the values of the red and blue
/// components of all pixels have been swapped, effectively converting
/// an RGB image to an BGR image.
///
/// The original QImage is not changed.
///
/// **See also:** {QImage#Image Transformations}{Image Transformations}
Returns a QImage in which the values of the red and blue
components of all pixels have been swapped, effectively converting
an RGB image to an BGR image.

The original QImage is not changed.

See also:** {QImage#Image Transformations}{Image Transformations}
Returns a QImage in which the values of the red and blue components of all pixels have been swapped effectively converting an RGB image to an BGR image . The original QImage is not changed . See also : ** { QImage#Image Transformations } { Image Transformations }
pub fn rgb_swapped_2(&self) -> Option<Image> {
        let (obj_data, funcs) = self.get_image_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).rgb_swapped_2)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Image::new_from_rc(t);
            } else {
                ret_val = Image::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn rgb_swapped_2 ( & self ) -> Option < Image > { let ( obj_data , funcs ) = self . get_image_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . rgb_swapped_2 ) ( obj_data ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Image :: new_from_rc ( t ) ; } else { ret_val = Image :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Returns a QImage in which the values of the red and blue
components of all pixels have been swapped, effectively converting
an RGB image to an BGR image.
Returns a QImage in which the values of the red and blue components of all pixels have been swapped effectively converting an RGB image to an BGR image .
&self
&self