Skip to main content

miniextendr_api/altrep_data/
iter.rs

1//! Iterator-backed ALTREP data types.
2//!
3//! Provides lazy ALTREP vectors backed by Rust iterators. Elements are generated
4//! on-demand and cached for repeat access.
5//!
6//! ## Submodules
7//!
8//! - [`state`]: Core `IterState<I, T>` + standard wrapper types (Int, Real, Logical, Raw, String, List, Complex)
9//! - [`coerce`]: Coerced variants (`IterIntCoerceData`, `IterRealCoerceData`, `IterIntFromBoolData`)
10//! - [`sparse`]: Sparse iterators using `nth()` for skip-ahead (`SparseIterState`)
11//! - [`windowed`]: Sliding-window iterators (`WindowedIterState`)
12
13mod coerce;
14mod sparse;
15mod state;
16mod windowed;
17
18pub use coerce::*;
19pub use sparse::*;
20pub use state::*;
21pub use windowed::*;