phobos-next v0.4.6 (2022-11-25T12:27:21Z)
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
static if
(
__traits(isStaticArray, R)
)
auto
findIndex
(
E
)
(
E
e
)
if
(
hasIndexing
!
R
&&
IndexTypeName
!= "IndexTypeName"
)
Meta
Source
See Implementation
nxt
typecons_ex
IndexedBy
functions
findIndex
mixins
__anonymous
variables
_r
Get index of element E wrapped in a bool-convertable struct.