Function Rect.empty

Wraps SDL_RectEmpty which checks if the dsdl2.Rect is an empty rectangle

bool empty() @trusted const;

Returns

true if it is empty, otherwise false