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
Re-exports§
pub use accumulator::*;pub use named::*;
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
Builder - Builder for constructing lists with efficient protection management.
- ListMut
- Mutable view of an R list (
VECSXP).
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.