Expand description
Thin wrapper around R list (VECSXP).
Provides safe construction from Rust values and typed extraction.
§Submodules
| Module | Contents |
|---|---|
accumulator | ListAccumulator — dynamic list construction with bounded protect stack |
named | NamedList — O(1) name-indexed access via HashMap index |
§Core Types
List— owned handle to an R list (VECSXP)ListMut— mutable view for in-place element replacementListBuilder— fixed-size batch constructionIntoList/TryFromList— conversion traits
Modules§
- accumulator 🔒
ListAccumulator— unknown-length list construction with bounded stack usage.- named 🔒
NamedList— O(1) name-indexed access to R lists.
Structs§
- Duplicate
Name Error - Error when a list has duplicate non-NA names.
- List
- Owned handle to an R list (
VECSXP). - List
Accumulator - Accumulator for building lists when the length is unknown upfront.
- List
Builder - Builder for constructing lists with efficient protection management.
- ListMut
- Mutable view of an R list (
VECSXP). - Named
List - A named list with O(1) name-based element lookup.
Enums§
- List
From Sexp Error - Error when converting SEXP to List fails.
Traits§
- Into
List - Convert things into an R list.
- TryFrom
List - Fallible conversion from an R list into a Rust value.
Functions§
- collect_
list ⚠ - Collect an iterator into an R list with bounded protect stack usage.