cargo_
util
1.83.0-beta.5
(eb6e3fa1a 2024-11-08)
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.