Module extendr_api::wrapper::rstr

source ·

Structs§

  • Wrapper for creating CHARSXP objects. These are used only as the contents of a character vector.

Functions§

  • charsxp_to_str 🔒
    Returns a rust string-slice based on the provided SEXP, which is of type [SEXPTYPE::CHARSXP]. Note that the length of a CHARSXP is exactly the number of non-null bytes in said R character.