For many types in Rust, there are owned and non-owned variants: Strings: String is owned, &str is a reference; Paths: PathBuf is owned, &Path is a reference ...
確定! 回上一頁