rust - AsRef 如何与str 一起工作? 原文 标签 rust. 我想写一个可以直接接受字符串切片的特征: use std::path::Path; trait Trait1 {} impl Trait1 for str ...
確定! 回上一頁