Opposite of Borrow trait for Copy types?

前端 未结 2 1215
别跟我提以往
别跟我提以往 2021-01-13 06:11

I\'ve seen the Borrow trait used to define functions that accept both an owned type or a reference, e.g. T or &T. The borrow

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