cargo_util
1.77.2
(25ef9e3d8 2024-04-09) (built from a source tarball)
In cargo_util::paths
?
Function
cargo_util
::
paths
::
path2bytes
source
·
[
−
]
pub fn path2bytes(path: &
Path
) ->
Result
<&[
u8
]>
Expand description
Converts a path to UTF-8 bytes.