ZipItem
Pairs items delivered in order by two independent cursors.
Module std.iteration
import std.iteration;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
ZipItem
pub final class ZipItem<L, R> where L: Movable where R: MovablePairs items delivered in order by two independent cursors.
This record owns transferred values and retains reference aliases without owning their backing. It adds no allocation or synchronization. Borrowed fields expire under their source's invalidation rules; concurrent writes require external synchronization. Present carriers transfer owning payloads through their selected lifecycle; reference carriers preserve aliases without moving their referents. L: Exact Movable left item type. R: Exact Movable right item type.
ZipItem.Left
pub Left: L;Exact left item or alias; backing lifetime remains external.
ZipItem.Right
pub Right: R;Exact right item or alias; backing lifetime remains external.