Expand description
Collection conversions (HashMap, BTreeMap, HashSet, BTreeSet).
Named R lists convert to HashMap<String, V> / BTreeMap<String, V>.
Unnamed R vectors convert to HashSet<T> / BTreeSet<T> for native types.
Nested lists convert to Vec<HashMap<String, V>> etc.
Macrosยง
- impl_
boxed_ ๐slice_ try_ from_ sexp_ native - impl_
map_ ๐try_ from_ sexp - impl_
set_ ๐try_ from_ sexp_ native - impl_
vec_ ๐map_ try_ from_ sexp - impl_
vec_ ๐try_ from_ sexp_ native
Functionsยง
- list_
to_ ๐vec_ of_ maps - Helper to convert R list (VECSXP) to
Vec<M>where each element is converted viaM: TryFromSexp. - named_
list_ ๐to_ map - Helper to convert R named list to a map type.