dextool v1.2.2 (2019-07-12T16:12:10Z)
Dub
Repo
SumType.this
sumtype
SumType
Constructs a
SumType
holding a specific value.
this
(T val)
this
(const(T) val)
this
(immutable(T) val)
struct
SumType
(TypeArgs...)
immutable
static if
(
isCopyable!T
)
this
()
(
auto
ref
immutable
(
T
)
val
)
if
(
is
(
NoDuplicates
!
TypeArgs
==
TypeArgs
) &&
TypeArgs.length
> 0
)
this
(const(T) val)
this
(immutable(T) val)
this
()
Meta
Source
See Implementation
sumtype
SumType
aliases
Types
constructors
this
destructors
~this
functions
opAssign
opEquals
toString
postblits
this(this)
Constructs a SumType holding a specific value.