☰
cargo_util
1.76.0
(07dca489a 2024-02-04) (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.