Why do I need angle brackets in <$a> when implementing macro based on type?

后端 未结 0 396
时光说笑
时光说笑 2021-02-20 07:05

I can implement a macro taking a type like this:

trait Boundable {
    fn max_value() -> A;
}

impl Boundable         


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