The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Triplet
mir
ndslice
iterator
Element type of
TripletIterator
.
@
fmamath
struct
Triplet (
Iterator
SliceKind
kind
=
Contiguous
) {
@
fmamath
size_t
_iterator
;
@
fmamath
Slice
!(
Iterator
,
1
,
kind
)
_slice
;
auto
lightConst
();
auto
lightImmutable
();
auto ref
center
[@property getter];
Slice
!(
Iterator
,
1
,
kind
)
left
[@property getter];
Slice
!(
Iterator
,
1
,
kind
)
right
[@property getter];
}
Members
Functions
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
Properties
center
auto ref
center
[@property getter]
left
Slice
!(
Iterator
,
1
,
kind
)
left
[@property getter]
right
Slice
!(
Iterator
,
1
,
kind
)
right
[@property getter]
Variables
_iterator
size_t
_iterator
;
_slice
Slice
!(
Iterator
,
1
,
kind
)
_slice
;
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
Element type of TripletIterator.