sclass RectAndConfidence implements IF0 { Rect r; float confidence; // 0 to 1 *() {} *(Rect *r, float *confidence) {} [stdEq] toString { ret str(pair(r, confidence)); } public Rect get() { ret r; } }