Skip to main content

Module named

Module named 

Source
Expand description

NamedList โ€” O(1) name-indexed access to R lists.

Wraps a List and builds a HashMap<String, usize> index on construction. Use when accessing multiple elements by name from the same list โ€” each lookup is O(1) instead of O(n).

Re-exportsยง

use std::collections::HashMap; ๐Ÿ”’
use crate::from_r::SexpError; ๐Ÿ”’
use crate::from_r::TryFromSexp; ๐Ÿ”’
use crate::into_r::IntoR; ๐Ÿ”’
use crate::SEXP; ๐Ÿ”’
use crate::SexpExt; ๐Ÿ”’
use super::List; ๐Ÿ”’

Structsยง

NamedList
A named list with O(1) name-based element lookup.