SumType.opAssign

Moves the value from another SumType into this one.

See the value-assignment overload for details on @safety.

  1. SumType opAssign(T rhs)
  2. SumType opAssign(SumType rhs)
  3. SumType opAssign(SumType rhs)
  4. SumType opAssign(SumType rhs)
    struct SumType(TypeArgs...)
    ref
    static if(allSatisfy!(isAssignable, Types))
    opAssign
    if (
    is(NoDuplicates!TypeArgs == TypeArgs) &&
    TypeArgs.length > 0
    )

Meta