fn map_mutable_list<T: RNativeType, U>(
sexp: SEXP,
scalar: bool,
optional: bool,
map: impl FnMut(Option<MutableRange<T>>) -> U,
) -> Result<Vec<U>, SexpError>Expand description
Validate every element and every raw buffer before creating any references. Different ALTREP objects can expose identical or partially overlapping storage, so comparing SEXP identities (or just starting pointers) is not enough here. NULL is a missing element only for the optional forms.