pub fn device_pixel_ratio(&self) -> f32 {
        let (obj_data, funcs) = self.get_image_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).device_pixel_ratio)(obj_data);
            ret_val
        }
    }
///
/// Returns a list of the colors contained in the image's color table,
/// or an empty list if the image does not have a color table
///
/// **See also:** [`set_color_table()`]
/// [`color_count()`]
/// [`color()`]
///
/// Returns the device pixel ratio for the image. This is the
/// ratio between *device pixels* and *device independent pixels* .
///
/// Use this function when calculating layout geometry based on
/// the image size: QSize layoutSize = image.size() / image.devicePixelRatio()
///
/// The default value is 1.0.
///
/// **See also:** [`set_device_pixel_ratio()`]
/// [`ImageReader`]
Returns a list of the colors contained in the image's color table,
or an empty list if the image does not have a color table



Returns the device pixel ratio for the image. This is the
ratio between *device pixels* and *device independent pixels* .

Use this function when calculating layout geometry based on
the image size: QSize layoutSize = image.size() / image.devicePixelRatio()

The default value is 1.0.


Returns a list of the colors contained in the image ' s color table or an empty list if the image does not have a color table Returns the device pixel ratio for the image . This is the ratio between * device pixels * and * device independent pixels * . Use this function when calculating layout geometry based on the image size : QSize layoutSize = image . size () / image . devicePixelRatio () The default value is 1 . 0 .
pub fn device_pixel_ratio(&self) -> f32 {
        let (obj_data, funcs) = self.get_image_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).device_pixel_ratio)(obj_data);
            ret_val
        }
    }
pub fn device_pixel_ratio ( & self ) -> f32 { let ( obj_data , funcs ) = self . get_image_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . device_pixel_ratio ) ( obj_data ) ; ret_val } }
Returns a list of the colors contained in the image's color table,
or an empty list if the image does not have a color table
Returns a list of the colors contained in the image ' s color table or an empty list if the image does not have a color table
&self
&self