What does AND operator do when operated between two objects in C++?

In OpenCV CamShift implementation there is a line ( just before the switch statement in onMouse() function in the code below ) of code which goes like this , selection &= Rect(0, 0, image.cols,