The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
IndexIterator
mir
ndslice
iterator
Iterates a field using an iterator.
IndexIterator
is used by
indexed
.
@
fmamath
struct
IndexIterator (
Iterator
Field
) {
struct
Tuple
(T...)
via
import
mir
.
functional
:
Tuple
,
autoExpandAndForward
;
;
@
fmamath
Iterator
_iterator
;
@
fmamath
Field
_field
;
auto
lightConst
();
auto
lightImmutable
();
alias
__map
(
alias
fun
)
=
IndexIterator__map
!(
Iterator
,
Field
,
fun
)
;
}
Members
Aliases
__map
alias
__map
(
alias
fun
)
=
IndexIterator__map
!(
Iterator
,
Field
,
fun
)
Functions
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
Variables
_field
Field
_field
;
_iterator
Iterator
_iterator
;
Meta
Source
See Implementation
mir
ndslice
iterator
structs
BytegroupIterator
CachedIterator
ChopIterator
FieldIterator
FlattenedIterator
IndexIterator
IotaIterator
MapIterator
MemberIterator
NeighboursIterator
RetroIterator
SliceIterator
SlideIterator
StairsIterator
StrideIterator
SubSliceIterator
Triplet
TripletIterator
VmapIterator
ZipIterator
Iterates a field using an iterator.
IndexIterator is used by indexed.