Expand description
Const equivalent of iterators with a specific next function signature.
The docs for IntoIterKind has more information on
const equivalents of IntoIterator and Iterator.
Modules§
- iterator_
dsl - Documentation on the iterator DSL that some
konst::itermacros support.
Macros§
- collect_
const - Collects an iterator constant into an array
- eval
- Emulates iterator method chains, by expanding to equivalent code.
- for_
each - Iterates over all elements of an iterator,
const equivalent of
Iterator::for_each - into_
iter - Macro for converting
IntoIterKindimplementors into const iterators.
Structs§
- Into
Iter Wrapper - Wrapper for
IntoIterKindimplementors, that defines different methods depending on the value of<T as IntoIterKind>::Kind. - IsInto
Iter Kind - Marker type for proving that
T: IntoIterKind<Kind = K> - IsIterator
Kind - For marking some type as being an iterator
in its
IntoIterKind::Kindassociated type. - IsNon
Iterator Kind - For marking some type as being convertible to an iterator
in its
IntoIterKind::Kindassociated type. - IsStd
Kind - For marking some type as being from std
in its
IntoIterKind::Kindassociated type.
Traits§
- Into
Iter Kind - Const analog of the
IntoIteratortrait.