The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
TaggedUnion.set
taggedalgebraic
taggedunion
TaggedUnion
TaggedUnion
Sets a
void
value of the specified kind.
FieldTypes
[
kind
]
set
(FieldTypes[kind] value)
void
set
()
struct
TaggedUnion
void
set
(
Kind
kind
)
(
)
if
(
isUnitType
!(
FieldTypes
[
kind
])
)
Meta
Source
See Implementation
taggedalgebraic
taggedunion
TaggedUnion
TaggedUnion
aliases
Kind
functions
opCast
opEquals
set
toHash
toString
properties
hasType
kind
value
Sets a void value of the specified kind.