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

后端 未结 0 883
予麋鹿
予麋鹿 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         


        
相关标签:
回答
  • 消灭零回复
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题