The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
StructLiteralExp.getFieldIndex
dmd
expression
StructLiteralExp
Get index of field. Returns -1 if not found.
class
StructLiteralExp
int
getFieldIndex
(
Type
type
,
uint
offset
)
dmd
expression
StructLiteralExp
functions
getField
getFieldIndex
variables
elements
inlinecopy
isOriginal
origin
sd
stageflags
stype
sym
useStaticInit
Suggestion Box / Bug Report
Get index of field. Returns -1 if not found.