pub fn _get_rect(&self) -> Rect {
        let size = self.winit.inner_size();
        let pos = self.winit.outer_position().expect("Window no longer exists.");

        Rect::new(pos.x.into(), pos.y.into(), size.width.into(), size.height.into())
    }
// Positioned rect on the desktop.
Positioned rect on the desktop.
Positioned rect on the desktop .
pub fn _get_rect(&self) -> Rect {
        let size = self.winit.inner_size();
        let pos = self.winit.outer_position().expect("Window no longer exists.");
        Rect::new(pos.x.into(), pos.y.into(), size.width.into(), size.height.into())
    }
pub fn _get_rect ( & self ) -> Rect { let size = self . winit . inner_size ( ) ; let pos = self . winit . outer_position ( ) . expect ( " " ) ; Rect :: new ( pos . x . into ( ) , pos . y . into ( ) , size . width . into ( ) , size . height . into ( ) ) }
Positioned rect on the desktop.
Positioned rect on the desktop .
&self
&self