Point.opOpAssign

Operator assignment overload with scalars

  1. inout(Point) opOpAssign(Point other)
  2. inout(Point) opOpAssign(int scalar)
    struct Point
    ref return inout
    inout(Point)
    opOpAssign
    (
    string op
    )
    (
    const int scalar
    )
    if (
    op == "*" ||
    op == "/"
    )

Meta