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)
this
(const(SumType) other)
this
(immutable(SumType) other)
struct
SumType
(TypeArgs...)
immutable
static if
(
allSatisfy!(isCopyable, Types)
)
static if
(
anySatisfy!(hasElaborateCopyConstructor, Types)
)
this
(
ref
immutable
(
SumType
)
other
)
if
(
is
(
NoDuplicates
!
TypeArgs
==
TypeArgs
) &&
TypeArgs.length
> 0
)
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