trait对象(trait object) ... trait对象在Rust中是指使用指针封装了的trait,比如 &SomeTrait 和 Box<SomeTrait> 。 ... x: &Foo 其中 x 是一个trait对象, ...
確定! 回上一頁