Expand description
Thin wrapper around R character vector (STRSXP).
Provides safe construction and element insertion for string vectors.
Re-exportsยง
use std::borrow::Cow;๐use crate::SEXPTYPE::STRSXP;๐use crate::from_r::SexpError;๐use crate::from_r::SexpTypeError;๐use crate::from_r::TryFromSexp;๐use crate::from_r::charsxp_to_borrowed_str_or_panic;๐use crate::from_r::charsxp_to_cow_or_panic;๐use crate::gc_protect::ChildRoots;๐use crate::gc_protect::OwnedProtect;๐use crate::gc_protect::ProtectScope;๐use crate::into_r::IntoR;๐use crate::Preserved;๐use crate::SEXP;๐use crate::SexpExt;๐
Structsยง
- Protected
StrVec - GC-protected view over an R character vector (
STRSXP). - Protected
StrVec CowIter - Encoding-safe iterator over
ProtectedStrVec. - Protected
StrVec Iter - Iterator over
ProtectedStrVecwith lifetime tied to the protection guard. - StrVec
- Borrowed view over an R character vector (
STRSXP). - StrVec
Builder - Builder for constructing string vectors with efficient protection management.
- StrVec
CowIter - Iterator over
StrVecelements asOption<Cow<'a, str>>. - StrVec
Iter - Iterator over
StrVecelements asOption<&str>(leashed to'a).