Lines Matching defs:Utf8Path
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); struct
560 impl Utf8Path { implementation
583 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()
1509 unsafe fn assume_utf8(path: &Path) -> &Utf8Path { in assume_utf8()
1512 &*(path as *const Path as *const Utf8Path) in assume_utf8() constant
1517 unsafe fn assume_utf8_mut(path: &mut Path) -> &mut Utf8Path { in assume_utf8_mut()
1535 impl fmt::Display for Utf8Path { implementation
1541 impl fmt::Debug for Utf8Path { implementation
1629 pub fn as_path(&self) -> &'a Utf8Path { in as_path()
1670 fn as_ref(&self) -> &Utf8Path { in as_ref()
1740 pub fn as_path(&self) -> &'a Utf8Path { in as_path()
1747 fn as_ref(&self) -> &Utf8Path { in as_ref()
1908 fn as_ref(&self) -> &Utf8Path { in as_ref()
2203 pub fn path(&self) -> &Utf8Path { in path()
2336 impl<'a> From<&'a str> for &'a Utf8Path { implementation
2337 fn from(s: &'a str) -> &'a Utf8Path { in from()
2353 fn from(s: &T) -> Box<Utf8Path> { in from()
2359 fn from(path: &Utf8Path) -> Arc<Utf8Path> { in from()
2361 let ptr = Arc::into_raw(arc) as *const Utf8Path; in from() constant
2372 fn from(path: &Utf8Path) -> Rc<Utf8Path> { in from()
2374 let ptr = Rc::into_raw(rc) as *const Utf8Path; in from() constant
2385 fn from(path: &'a Utf8Path) -> Cow<'a, Utf8Path> { in from() argument
2425 fn from(path: Utf8PathBuf) -> Box<Utf8Path> { in from()
2449 fn from(path: Utf8PathBuf) -> Cow<'a, Utf8Path> { in from() argument
2455 fn from(path: Utf8PathBuf) -> Arc<Utf8Path> { in from()
2457 let ptr = Arc::into_raw(arc) as *const Utf8Path; in from() constant
2468 fn from(path: Utf8PathBuf) -> Rc<Utf8Path> { in from()
2470 let ptr = Rc::into_raw(rc) as *const Utf8Path; in from() constant
2550 impl<'a> TryFrom<&'a Path> for &'a Utf8Path { implementation
2553 fn try_from(path: &'a Path) -> Result<&'a Utf8Path, Self::Error> { in try_from()
2699 impl AsRef<Utf8Path> for Utf8Path { implementation
2701 fn as_ref(&self) -> &Utf8Path { in as_ref()
2708 fn as_ref(&self) -> &Utf8Path { in as_ref()
2715 fn as_ref(&self) -> &Utf8Path { in as_ref()
2722 fn as_ref(&self) -> &Utf8Path { in as_ref()
2727 impl AsRef<Path> for Utf8Path { implementation
2741 impl AsRef<str> for Utf8Path { implementation
2755 impl AsRef<OsStr> for Utf8Path { implementation
2775 fn borrow(&self) -> &Utf8Path { in borrow()
2780 impl ToOwned for Utf8Path { implementation
2830 impl PartialEq for Utf8Path { implementation
2837 impl Eq for Utf8Path {} implementation
2839 impl Hash for Utf8Path { implementation
2847 impl PartialOrd for Utf8Path { implementation
2854 impl Ord for Utf8Path { implementation
2869 impl<'a> IntoIterator for &'a Utf8Path { implementation