Skip to main content

Module list

Module list 

Source
Expand description

Thin wrapper around R list (VECSXP).

Provides safe construction from Rust values and typed extraction.

§Submodules

ModuleContents
accumulatorListAccumulator — dynamic list construction with bounded protect stack
namedNamedList — O(1) name-indexed access via HashMap index

§Core Types

Modules§

accumulator 🔒
ListAccumulator — unknown-length list construction with bounded stack usage.
named 🔒
NamedList — O(1) name-indexed access to R lists.

Structs§

DuplicateNameError
Error when a list has duplicate non-NA names.
List
Owned handle to an R list (VECSXP).
ListAccumulator
Accumulator for building lists when the length is unknown upfront.
ListBuilder
Builder for constructing lists with efficient protection management.
ListMut
Mutable view of an R list (VECSXP).
NamedList
A named list with O(1) name-based element lookup.

Enums§

ListFromSexpError
Error when converting SEXP to List fails.

Traits§

IntoList
Convert things into an R list.
TryFromList
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.