Trait Object. 從Rust 往程式底層前進系列第5 篇 ... fn print_str<S: AsRef<str>>(s: S) { let s = s.as_ref(); inner(s); fn inner(s: &str) { println!(
確定! 回上一頁