cargo_
util
1.85.0
(4d91de4e4 2025-02-17) (built from a source tarball)
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.