ps-str 0.1.0-5

String transcoding library
Documentation
1
2
3
4
5
6
7
8
9
use std::path::PathBuf;

use crate::PathUtf8Encoder;

impl PathUtf8Encoder for PathBuf {
    fn to_utf8_string(&self) -> String {
        self.as_path().to_utf8_string()
    }
}