cargo_util
1.79.0
(129f3b996 2024-06-10) (built from a source tarball)
In cargo_util::paths
?
Settings
Function
cargo_util
::
paths
::
path2bytes
Copy item path
source
·
[
−
]
pub fn path2bytes(path: &
Path
) ->
Result
<&[
u8
]>
Expand description
Converts a path to UTF-8 bytes.