Modules§
- take_
max_ iter - This file implements an iterator which can take up to n items at a time from a splitablespan iterator.
- zip
Structs§
- Merge
Iter - This is an iterator composer which wraps any iterator over a SplitableSpan to become an iterator over those same items in run-length order.
- Reverse
Span - A splitablespan in reverse. This is useful for making lists in descending order.
- RleRun
- A splitablespan which contains a single element repeated N times. This is used in some examples.
- Single
- A SplitableSpan wrapper for any single item.
- WithCtx
Traits§
- Append
Rle - HasLength
- Mergable
Span - Mergeable
Iterator - Searchable
- Split
AndJoin Span - An entry is expected to contain multiple items.
- Split
AndJoin Span Ctx - Splitable
Span - Splitable
Span Ctx - Splitable
Span Helpers - Trim
- TrimCtx
Functions§
- merge_
items - test_
splitable_ methods_ valid - Simple test helper to verify an implementation of SplitableSpan is valid and meets expected constraints.
- test_
splitable_ methods_ valid_ ctx