Implementing a trait methdo returning a bounded lifetime reference for owned type

前端 未结 0 731
庸人自扰
庸人自扰 2021-01-29 02:37

Let\'s assume I have this struct and this trait:

#[derive(Debug)]
pub struct New(T);

pub trait AsRefNew<\'a&         


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