cargo_
util
1.86.0
(05f9846f8 2025-03-31)
In cargo_
util::
paths
cargo_util
::
paths
Function
path2bytes
Copy item path
Source
pub fn path2bytes(path: &
Path
) ->
Result
<&[
u8
]>
Expand description
Converts a path to UTF-8 bytes.