Allow mutable ALTREP
yutannihilation opened this issue · comments
At least there can be three strategies on modification
- immutable
- always duplicate and modify the new one
- mutable
- modify the materialized version of
SEXP
indata2
(or somewhere linked todata2
) - modify the underlying
*mut T
, if available
- modify the materialized version of
I haven't seen an implementation that chose 2-ii, but it might be the case with Rust.
It seems this is not possible. Closing.