The definition of Rect is in WPILib\nivision.h
Code:
typedef struct Rect_struct {
int top; //Location of the top edge of the rectangle.
int left; //Location of the left edge of the rectangle.
int height; //Height of the rectangle.
int width; //Width of the rectangle.
} Rect;