dyaml v0.9.2 (2022-08-24T21:56:38Z)
Home
Dub
Repo
SumType.this
dyaml
stdsumtype
SumType
Constructs a
SumType
that's a copy of another
SumType
.
this
(T value)
this
(const(T) value)
this
(immutable(T) value)
this
(Value value)
this
(T value)
this
(const(T) value)
this
(const(T) value)
this
(immutable(T) value)
this
(immutable(T) value)
this
(Value value)
this
(Value value)
this
(inout(SumType) other)
struct
SumType
(Types...)
inout
static if
(
anySatisfy!(hasElaborateCopyConstructor, Types)
)
static if
(
allSatisfy!(isCopyable, Map!(InoutOf, Types)) && !anySatisfy!(hasPostblit, Map!(InoutOf, Types)) && allSatisfy!(isInout, Map!(InoutOf, Types))
)
this
(
ref
inout
(
SumType
)
other
)
if
(
is
(
NoDuplicates
!
Types
==
Types
) &&
Types.length
> 0
)
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
dyaml
stdsumtype
SumType
aliases
Types
constructors
this
destructors
~this
functions
opAssign
opEquals
toHash
toString
Constructs a SumType that's a copy of another SumType.