pub fn size(&self) -> (i32, i32) {
    let mut w = 0;
    let mut h = 0;
    unsafe { SDL_GetWindowSize(self.ptr, &mut w, &mut h) };
    (w, h)
  }
/// Gets the logical size of the window (in screen coordinates).
///
/// Use the GL Drawable Size or Renderer Output Size checks to get the
/// physical pixel count, if you need that.
Gets the logical size of the window (in screen coordinates).
Use the GL Drawable Size or Renderer Output Size checks to get the
physical pixel count, if you need that.
Gets the logical size of the window ( in screen coordinates ) . Use the GL Drawable Size or Renderer Output Size checks to get the physical pixel count if you need that .
pub fn size(&self) -> (i32, i32) {
    let mut w = 0;
    let mut h = 0;
    unsafe { SDL_GetWindowSize(self.ptr, &mut w, &mut h) };
    (w, h)
  }
pub fn size ( & self ) -> ( i32 , i32 ) { let mut w = 0 ; let mut h = 0 ; unsafe { SDL_GetWindowSize ( self . ptr , & mut w , & mut h ) } ; ( w , h ) }
Gets the logical size of the window (in screen coordinates).
Gets the logical size of the window ( in screen coordinates ) .
&self
&self