Vector2.opOpAssign - multiple declarations

Function Vector2.opOpAssign

Compound vector addition.

void opOpAssign(string op : "+")(
  Vector2 rhs
) pure nothrow @nogc @safe;

Function Vector2.opOpAssign

Compound vector subtraction.

void opOpAssign(string op : "-")(
  Vector2 rhs
) pure nothrow @nogc @safe;

Function Vector2.opOpAssign

Compound scalar multiplication.

void opOpAssign(string op : "*", S)(
  S rhs
) pure nothrow @nogc @safe
if (isGeoScalar!S && is(typeof(T.init * S.init) == T));

Available only when the result scalar remains T.

Function Vector2.opOpAssign

Compound scalar division.

void opOpAssign(string op : "/", S)(
  S rhs
) pure nothrow @nogc @safe
if (isGeoScalar!S && isFloatingPoint!T && is(typeof(T.init / S.init) == T));

Available only for floating-point vectors and when the result scalar remains T.