Skip to main content

Module iter

Module iter 

Source
Expand description

Iterator-backed ALTREP data types.

Provides lazy ALTREP vectors backed by Rust iterators. Elements are generated on-demand and cached for repeat access.

ยงSubmodules

  • state: Core IterState<I, T> + standard wrapper types (Int, Real, Logical, Raw, String, List, Complex)
  • coerce: Coerced variants (IterIntCoerceData, IterRealCoerceData, IterIntFromBoolData)
  • sparse: Sparse iterators using nth() for skip-ahead (SparseIterState)
  • windowed: Sliding-window iterators (WindowedIterState)

Re-exportsยง

pub use coerce::*;
pub use sparse::*;
pub use state::*;
pub use windowed::*;

Modulesยง

coerce ๐Ÿ”’
Iterator-backed ALTREP with coercion support.
sparse ๐Ÿ”’
Sparse iterator-backed ALTREP with skipping support.
state ๐Ÿ”’
Core iterator-backed ALTREP infrastructure.
windowed ๐Ÿ”’
Windowed iterator-backed ALTREP infrastructure.