context-iterators
Iterators adaptors with associated read-only data.
Useful for naming the types of wrapped iterators by using function pointers or non-capturing closures.
use *;
use Range;
type MappedIterator = ;
let iter: MappedIterator =
.with_context
.map_with_context;
assert!;
The MappedIterator
type can be used in contexts where a concrete type is
needed, for example as an associated type for a trait.
;
Please read the API documentation here.
Recent Changes
See CHANGELOG for a list of changes. The minimum supported rust version will only change on major releases.
License
This project is dual-licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.