在Rust 1.26 版本中,引入了一种新的trait 使用方式,即:impl trait, ... [1, 2, 3, 4]; let a: &Vec<u64> = &v; // 转为trait object let b: &dyn ...
確定! 回上一頁