Expand description
Core iterator-backed ALTREP data adaptors.
Provides IterState<I, T> (the shared lazy-caching state machine) and
data-adaptor types for the integer/real/logical/raw ALTREP families:
IterIntData, IterRealData, IterLogicalData, IterRawData. The
string/complex adaptors live in super::coerce; the rooted list adaptor
lives in super::list.
See the iterator-adaptor section in the altrep_data
module docs for how to expose
these adaptors to R: they implement only the data-level traits
(AltrepLen + Alt*Data) and must be wrapped in a concrete
#[derive(Altrep*)] + #[altrep(manual)] struct to back a live ALTREP
vector.
Structs§
- Iter
IntData - Iterator-backed integer vector data adaptor.
- Iter
Logical Data - Iterator-backed logical vector data adaptor.
- IterR
Logical Data - Iterator-backed logical data retaining R’s native logical bit patterns.
- Iter
RawData - Iterator-backed raw (u8) vector data adaptor.
- Iter
Real Data - Iterator-backed real (f64) vector data adaptor.
- Iter
State - Core state for iterator-backed ALTREP vectors.