elastic-array
elastic-array copied to clipboard
Ability to make a Cow where the owned is an ElasticArray
AFAICT, it is not possible (or rather, easy) to have a std::borrow::Cow
where the Owned
is an ElasticArray
. In order for this to be possible, we need a new type representing a reference to an ElasticArray
contents that implements ToOwned<Owned=ElasticArray...>
. Any thoughts on creating such a type? I'm not sure exactly what to call it. Maybe like ElasticArrayRefN
?