SumType.this

Constructs a SumType holding a specific value.

  1. this(T value)
  2. this(const(T) value)
  3. this(immutable(T) value)
  4. this(Value value)
  5. this(T value)
  6. this(const(T) value)
  7. this(immutable(T) value)
    struct SumType(Types...)
    immutable
    static if(isCopyable!(immutable(T)))
    static if(IndexOf!(immutable(T), Map!(ImmutableOf, Types)) == tid)
    this
    (
    immutable(T) value
    )
  8. this(Value value)
  9. this(inout(SumType) other)
  10. this(SumType other)
  11. this(const(SumType) other)
  12. this(immutable(SumType) other)

Meta