How to declare a mutable member reference to a hashmap value in rust struct?

后端 未结 0 890
栀梦
栀梦 2020-12-06 14:21
struct ChunkUnpacketizer<\'a> {
    id_2_chunk_info: HashMap,
    current_chunk_info: &\'a mut ChunkInfo,
}

impl<\'a> ChunkUnp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题