How can I get Serde to allocate strings from an arena during deserialization?

前端 未结 1 1939
时光取名叫无心
时光取名叫无心 2020-12-18 10:04

I have a struct with string fields. I\'d like to control how the memory for the strings is allocated. In particular, I\'d like to allocate them using something like copy_are

1条回答
提交回复
热议问题