watchexec ~master (2021-10-12T13:58:57Z)
Dub
Repo
SumType.this
sumtype
SumType
Constructs a
SumType
that's a copy of another
SumType
.
this
(T value)
this
(const(T) value)
this
(const(T) value)
this
(immutable(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)
struct
SumType
(Types...)
immutable
static if
(
anySatisfy!(hasElaborateCopyConstructor, Types)
)
static if
(!(
allSatisfy!(isCopyable, Map!(InoutOf, Types)) && !anySatisfy!(hasPostblit, Map!(InoutOf, Types))
))
static if
(
allSatisfy!(isCopyable, Map!(ImmutableOf, Types))
)
this
(
ref
immutable
(
SumType
)
other
)
if
(
is
(
NoDuplicates
!
Types
==
Types
) &&
Types.length
> 0
)
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 that's a copy of another SumType.