cargo_util
1.78.0
(9b00956e5 2024-04-29) (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.