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::iter
macros 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
IntoIterKind
implementors into const iterators.
Structs§
- Into
Iter Wrapper - Wrapper for
IntoIterKind
implementors, 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::Kind
associated type. - IsNon
Iterator Kind - For marking some type as being convertible to an iterator
in its
IntoIterKind::Kind
associated type. - IsStd
Kind - For marking some type as being from std
in its
IntoIterKind::Kind
associated type.
Traits§
- Into
Iter Kind - Const analog of the
IntoIterator
trait.