Why doesn't ops::Range implement Copy, even if T is Copy?

后端 未结 0 874
予麋鹿
予麋鹿 2021-02-13 09:38

Recently, I wanted to write a type holding parameters for a 3D projection:

use std::ops::Range;

#[derive(Clone, Copy)]
struct CamProj {
    /// Near and far pla         


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