pub fn monitor_rect_from_window<H: Into<ControlHandle>>(window: H) -> [i32; 4] {
        let handle = window.into().hwnd().expect("Window to be a window-like control");
        let info = Self::monitor_info_from_window(handle);
        let m = info.rcMonitor;

        [
            m.left,
            m.top,
            m.right,
            m.bottom
        ]
    }
/// Returns a [left, top, right, bottom] rectangle that specifies the display monitor rectangle, expressed in virtual-screen coordinates. 
/// Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.
/// Panics if `window` is not a window like control.
Returns a [left, top, right, bottom] rectangle that specifies the display monitor rectangle, expressed in virtual-screen coordinates.
Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.
Panics if `window` is not a window like control.
Returns a [ left top right bottom ] rectangle that specifies the display monitor rectangle expressed in virtual - screen coordinates . Note that if the monitor is not the primary display monitor some of the rectangle ' s coordinates may be negative values . Panics if ` window ` is not a window like control .
pub fn monitor_rect_from_window<H: Into<ControlHandle>>(window: H) -> [i32; 4] {
        let handle = window.into().hwnd().expect("Window to be a window-like control");
        let info = Self::monitor_info_from_window(handle);
        let m = info.rcMonitor;
        [
            m.left,
            m.top,
            m.right,
            m.bottom
        ]
    }
pub fn monitor_rect_from_window < H : Into < ControlHandle > > ( window : H ) -> [ i32 ; 4 ] { let handle = window . into ( ) . hwnd ( ) . expect ( " " ) ; let info = Self :: monitor_info_from_window ( handle ) ; let m = info . rcMonitor ; [ m . left , m . top , m . right , m . bottom ] }
Returns a [left, top, right, bottom] rectangle that specifies the display monitor rectangle, expressed in virtual-screen coordinates.
Returns a [ left top right bottom ] rectangle that specifies the display monitor rectangle expressed in virtual - screen coordinates .
window
H