elastic-array icon indicating copy to clipboard operation
elastic-array copied to clipboard

Ability to make a Cow where the owned is an ElasticArray

Open jimpo opened this issue 5 years ago • 0 comments

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?

jimpo avatar Oct 28 '19 15:10 jimpo