phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
IndexedBy.findIndex
nxt
typecons_ex
IndexedBy
Get index of element
E
wrapped in a
bool
-convertable struct.
struct
IndexedBy
(R, string IndexTypeName)
@
safe
pure nothrow @
nogc
auto
findIndex
(
E
)
(
E
e
)
if
(
hasIndexing
!
R
&&
IndexTypeName
!= "IndexTypeName"
)
Meta
Source
See Implementation
nxt
typecons_ex
IndexedBy
functions
findIndex
Get index of element E wrapped in a bool-convertable struct.