spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
SumType.trustedGet
spasm
sumtype
SumType
Undocumented in source. Be warned that the author may not have intended to support it.
struct
SumType
(TypeArgs...)
@
trusted
ref inout
inout
(
T
)
trustedGet
(
T
)
(
)
if
(
staticIndexOf
!(
T
,
Types
) >= 0
)
if
(
is
(
NoDuplicates
!
TypeArgs
==
TypeArgs
) &&
TypeArgs.length
> 0
)
Meta
Source
See Implementation
spasm
sumtype
SumType
aliases
Types
constructors
this
destructors
~this
functions
opAssign
opEquals
toString
trustedGet
postblits
this(this)