phobos-next ~master (2024-03-19T05:49:32Z)
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)
pure nothrow @
safe
@
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.