spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
SumType.this
spasm
sumtype
SumType
Constructs a
SumType
that's a copy of another
SumType
this
(T value)
this
(const(T) value)
this
(immutable(T) value)
this
(const(T) value)
this
(immutable(T) value)
this
(SumType other)
struct
SumType
(TypeArgs...)
static if
(
allSatisfy!(isCopyable, Types)
)
static if
(
anySatisfy!(hasElaborateCopyConstructor, Types)
)
this
(
ref
SumType
other
)
if
(
is
(
NoDuplicates
!
TypeArgs
==
TypeArgs
) &&
TypeArgs.length
> 0
)
this
(const(SumType) other)
this
(immutable(SumType) other)
this
()
Meta
Source
See Implementation
spasm
sumtype
SumType
aliases
Types
constructors
this
destructors
~this
functions
opAssign
opEquals
toString
trustedGet
postblits
this(this)
Constructs a SumType that's a copy of another SumType