pub fn pixmap_3(&self, extent: i32, mode: Mode, state: State) -> Pixmap {
        let enum_mode_2 = mode as u32;
        let enum_state_3 = state as u32;

        let (obj_data, funcs) = self.get_icon_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).pixmap_3)(obj_data, extent, enum_mode_2, enum_state_3);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Pixmap::new_from_rc(t);
            } else {
                ret_val = Pixmap::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Returns a pixmap with the requested *size,* *mode,* and *state,* generating one if necessary. The pixmap might be smaller than
/// requested, but never larger.
///
/// Setting the Qt::AA_UseHighDpiPixmaps application attribute enables this
/// function to return pixmaps that are larger than the requested size. Such
/// images will have a devicePixelRatio larger than 1.
///
/// **See also:** [`actual_size()`]
/// [`paint()`]
///
/// **Overloads**
/// Returns a pixmap of size QSize( *w,* *h).* The pixmap might be smaller than
/// requested, but never larger.
///
/// Setting the Qt::AA_UseHighDpiPixmaps application attribute enables this
/// function to return pixmaps that are larger than the requested size. Such
/// images will have a devicePixelRatio larger than 1.
///
/// **Overloads**
/// Returns a pixmap of size QSize( *extent,* *extent).* The pixmap might be smaller
/// than requested, but never larger.
///
/// Setting the Qt::AA_UseHighDpiPixmaps application attribute enables this
/// function to return pixmaps that are larger than the requested size. Such
/// images will have a devicePixelRatio larger than 1.
///
/// Returns a pixmap with the requested *window* *size,* *mode,* and *state,* generating one if necessary.
///
/// The pixmap can be smaller than the requested size. If *window* is on
/// a high-dpi display the pixmap can be larger. In that case it will have
/// a devicePixelRatio larger than 1.
///
/// **See also:** [`actual_size()`]
/// [`paint()`]


Setting the Qt::AA_UseHighDpiPixmaps application attribute enables this
function to return pixmaps that are larger than the requested size. Such
images will have a devicePixelRatio larger than 1.



Overloads
Returns a pixmap of size QSize( *w,* *h).* The pixmap might be smaller than
requested, but never larger.

Setting the Qt::AA_UseHighDpiPixmaps application attribute enables this
function to return pixmaps that are larger than the requested size. Such
images will have a devicePixelRatio larger than 1.

Overloads
Returns a pixmap of size QSize( *extent,* *extent).* The pixmap might be smaller
than requested, but never larger.

Setting the Qt::AA_UseHighDpiPixmaps application attribute enables this
function to return pixmaps that are larger than the requested size. Such
images will have a devicePixelRatio larger than 1.



The pixmap can be smaller than the requested size. If *window* is on
a high-dpi display the pixmap can be larger. In that case it will have
a devicePixelRatio larger than 1.


Setting the Qt :: AA_UseHighDpiPixmaps application attribute enables this function to return pixmaps that are larger than the requested size . Such images will have a devicePixelRatio larger than 1 . Overloads Returns a pixmap of size QSize ( * w * * h ) . * The pixmap might be smaller than requested but never larger . Setting the Qt :: AA_UseHighDpiPixmaps application attribute enables this function to return pixmaps that are larger than the requested size . Such images will have a devicePixelRatio larger than 1 . Overloads Returns a pixmap of size QSize ( * extent * * extent ) . * The pixmap might be smaller than requested but never larger . Setting the Qt :: AA_UseHighDpiPixmaps application attribute enables this function to return pixmaps that are larger than the requested size . Such images will have a devicePixelRatio larger than 1 . The pixmap can be smaller than the requested size . If * window * is on a high - dpi display the pixmap can be larger . In that case it will have a devicePixelRatio larger than 1 .
pub fn pixmap_3(&self, extent: i32, mode: Mode, state: State) -> Pixmap {
        let enum_mode_2 = mode as u32;
        let enum_state_3 = state as u32;
        let (obj_data, funcs) = self.get_icon_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).pixmap_3)(obj_data, extent, enum_mode_2, enum_state_3);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Pixmap::new_from_rc(t);
            } else {
                ret_val = Pixmap::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn pixmap_3 ( & self , extent : i32 , mode : Mode , state : State ) -> Pixmap { let enum_mode_2 = mode as u32 ; let enum_state_3 = state as u32 ; let ( obj_data , funcs ) = self . get_icon_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . pixmap_3 ) ( obj_data , extent , enum_mode_2 , enum_state_3 ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Pixmap :: new_from_rc ( t ) ; } else { ret_val = Pixmap :: new_from_owned ( t ) ; } ret_val } }
Returns a pixmap with the requested *size,* *mode,* and *state,* generating one if necessary.
Returns a pixmap with the requested * size * * mode * and * state * generating one if necessary .
&self
extent
i32
mode
Mode
state
State
&self
extent
i32
mode
Mode
state
State