///
/// Returns the clipboard image, or returns a null image if the
/// clipboard does not contain an image or if it contains an image in
/// an unsupported image format.
///
/// The *mode* argument is used to control which part of the system
/// clipboard is used. If *mode* is QClipboard::Clipboard, the
/// image is retrieved from the global clipboard. If *mode* is
/// QClipboard::Selection, the image is retrieved from the global
/// mouse selection.
///
/// **See also:** [`set_image()`]
/// [`pixmap()`]
/// [`mime_data()`]
/// [`Image::is_null`]
Returns the clipboard image, or returns a null image if the
clipboard does not contain an image or if it contains an image in
an unsupported image format.

The *mode* argument is used to control which part of the system
clipboard is used. If *mode* is QClipboard::Clipboard, the
image is retrieved from the global clipboard. If *mode* is
QClipboard::Selection, the image is retrieved from the global
mouse selection.


Returns the clipboard image or returns a null image if the clipboard does not contain an image or if it contains an image in an unsupported image format . The * mode * argument is used to control which part of the system clipboard is used . If * mode * is QClipboard :: Clipboard the image is retrieved from the global clipboard . If * mode * is QClipboard :: Selection the image is retrieved from the global mouse selection .
pub fn image(&self, mode: Mode) -> Image {
        let enum_mode_1 = mode as u32;
        let (obj_data, funcs) = self.get_clipboard_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).image)(obj_data, enum_mode_1);
            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);
            }
            ret_val
        }
    }
pub fn image ( & self , mode : Mode ) -> Image { let enum_mode_1 = mode as u32 ; let ( obj_data , funcs ) = self . get_clipboard_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . image ) ( obj_data , enum_mode_1 ) ; 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 ) ; } ret_val } }
Returns the clipboard image, or returns a null image if the
clipboard does not contain an image or if it contains an image in
an unsupported image format.
Returns the clipboard image or returns a null image if the clipboard does not contain an image or if it contains an image in an unsupported image format .
&self
mode
Mode