pub fn device_pixel_ratio(&self) -> f32 {
        let (obj_data, funcs) = self.get_window_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).device_pixel_ratio)(obj_data);
            ret_val
        }
    }
///
/// Returns the ratio between physical pixels and device-independent pixels
/// for the window. This value is dependent on the screen the window is on,
/// and may change when the window is moved.
///
/// Common values are 1.0 on normal displays and 2.0 on Apple displays.
///
/// **Note**: For windows not backed by a platform window, meaning that create() was not
/// called, the function will fall back to the associated QScreen's device pixel ratio.
///
/// **See also:** [`Screen::device_pixel_ratio`]
Returns the ratio between physical pixels and device-independent pixels
for the window. This value is dependent on the screen the window is on,
and may change when the window is moved.

Common values are 1.0 on normal displays and 2.0 on Apple displays.

Note**: For windows not backed by a platform window, meaning that create() was not
called, the function will fall back to the associated QScreen's device pixel ratio.


Returns the ratio between physical pixels and device - independent pixels for the window . This value is dependent on the screen the window is on and may change when the window is moved . Common values are 1 . 0 on normal displays and 2 . 0 on Apple displays . Note ** : For windows not backed by a platform window meaning that create () was not called the function will fall back to the associated QScreen ' s device pixel ratio .
pub fn device_pixel_ratio(&self) -> f32 {
        let (obj_data, funcs) = self.get_window_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_window_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . device_pixel_ratio ) ( obj_data ) ; ret_val } }
Returns the ratio between physical pixels and device-independent pixels
for the window.
Returns the ratio between physical pixels and device - independent pixels for the window .
&self
&self