How to call Iter::chain and what will be the return type?

后端 未结 0 842
时光取名叫无心
时光取名叫无心 2021-02-06 18:58

I\'m trying to create an iterator that will add one element to the start of a vector

struct World {
    player: Object,
    npcs: Vec,
}

impl World         


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