The OpenD Programming Language

TickDuration.opOpAssign

Adds or subtracts two TickDurations as well as assigning the result to this TickDuration.

The legal types of arithmetic for TickDuration using this operator are

TickDuration+=TickDuration-->TickDuration
TickDuration-=TickDuration-->TickDuration
  1. TickDuration opOpAssign(TickDuration rhs)
    struct TickDuration
    deprecated ref @safe pure nothrow @nogc
    opOpAssign
    (
    string op
    )
    if (
    op == "+" ||
    op == "-"
    )
  2. void opOpAssign(T value)
  3. void opOpAssign(T value)

Parameters

rhs TickDuration

The TickDuration to add to or subtract from this $(D TickDuration).

Meta