gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
TaggedAlgebraic.opDispatch
gfx
decl
sdlang
taggedalgebraic
TaggedAlgebraic
Enables accessing properties/fields of the stored value.
auto
opDispatch
(ARGS args)
ARGS
opDispatch
[@property setter]
struct
TaggedAlgebraic
(U)
@
property
auto
opDispatch
(
string
name
this
TA
ARGS
...
)
(
auto
ref
ARGS
args
)
if
(
hasOp
!(
TA
,
OpKind.field
,
name
,
ARGS
) &&
!
hasOp
!(
TA
,
OpKind.method
,
name
,
ARGS
)
)
if
(
is
(
U
== union) ||
is
(
U
== struct)
)
Meta
Source
See Implementation
gfx
decl
sdlang
taggedalgebraic
TaggedAlgebraic
aliases
Kind
Type
Union
typeID
constructors
this
destructors
~this
functions
opAssign
opBinary
opBinaryRight
opCall
opCast
opCmp
opDispatch
opEquals
opIndex
opIndexAssign
opOpAssign
opUnary
toString
postblits
this(this)
properties
kind
Enables accessing properties/fields of the stored value.