Rect.opBinary

operator overload for add, subtract or multiply.

  1. Rect opBinary(Point rhs)
    struct Rect
    opBinary
    (
    string op
    )
    if (
    op.among!("+", "-", "*")
    )
  2. Rect opBinary(Scalar[2] rhs)
  3. Rect opBinary(Scalar rhs)

Meta