autoformat ~master (2021-06-01T21:25:09Z)
Dub
Repo
SumType.this
sumtype
SumType
Constructs a
SumType
holding a specific value.
this
(T value)
this
(const(T) value)
this
(immutable(T) value)
struct
SumType
(Types...)
immutable
static if
(
isCopyable!T
)
static if
(
IndexOf!(immutable(T), Map!(ImmutableOf, Types)) == tid
)
this
(
immutable
(
T
)
value
)
if
(
is
(
NoDuplicates
!
Types
==
Types
) &&
Types.length
> 0
)
this
(const(T) value)
this
(immutable(T) value)
this
(inout(SumType) other)
this
(SumType other)
this
(SumType other)
this
(const(SumType) other)
this
(const(SumType) other)
this
(immutable(SumType) other)
this
(immutable(SumType) other)
this
()
Meta
Source
See Implementation
sumtype
SumType
aliases
Types
constructors
this
destructors
~this
functions
opAssign
opEquals
toHash
toString
typeIndex
Constructs a SumType holding a specific value.