Skip to main content

Module cow_and_paths

Module cow_and_paths 

Source
Expand description

Cow, PathBuf, OsString, and string collection conversions.

  • Cow<'static, [T]> — zero-copy borrow of R native vectors
  • Cow<'static, str> — zero-copy borrow of R character scalars
  • PathBuf / OsString — from STRSXP via String intermediary
  • HashSet<String> / BTreeSet<String> — string set conversions

Macros§

impl_set_string_try_from_sexp 🔒
impl_string_wrapper_try_from_sexp 🔒
Generate TryFromSexp impls for types that are From<String> (scalar, Option, Vec, Vec