Searched defs:Utf8Path (Results 1 – 3 of 3) sorted by relevance
227 pub fn as_path(&self) -> &Utf8Path { in as_path()263 pub fn push(&mut self, path: impl AsRef<Utf8Path>) { in push()382 pub fn into_boxed_path(self) -> Box<Utf8Path> { in into_boxed_path()494 fn deref(&self) -> &Utf8Path { in deref()558 pub struct Utf8Path(Path); struct560 impl Utf8Path { impl583 pub fn new(s: &(impl AsRef<str> + ?Sized)) -> &Utf8Path { in new()618 pub fn from_path(path: &Path) -> Option<&Utf8Path> { in from_path()784 pub fn parent(&self) -> Option<&Utf8Path> { in parent()881 pub fn strip_prefix(&self, base: impl AsRef<Path>) -> Result<&Utf8Path, StripPrefixError> { in strip_prefix()[all …]
39 impl<'de: 'a, 'a> Deserialize<'de> for &'a Utf8Path { implementation48 impl Serialize for Utf8Path { implementation163 fn path(&self) -> &Utf8Path; in path()177 fn path(&self) -> &Utf8Path { in path()194 fn path(&self) -> &Utf8Path { in path()210 fn path(&self) -> &Utf8Path { in path()
103 pub fn diff_utf8_paths<P, B>(path: P, base: B) -> Option<Utf8PathBuf> in diff_utf8_paths()106 B: AsRef<Utf8Path>, in diff_utf8_paths()