[][src]Function sdl2_sys::SDL_GetDisplayBounds

pub unsafe extern "C" fn SDL_GetDisplayBounds(
    displayIndex: c_int,
    rect: *mut SDL_Rect
) -> c_int

\brief Get the desktop area represented by a display, with the primary display located at 0,0

\return 0 on success, or -1 if the index is out of range.

\sa SDL_GetNumVideoDisplays()