Home
last modified time | relevance | path

Searched defs:Utf8Path (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/camino/src/
Dlib.rs227 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 { impl
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()
[all …]
Dserde_impls.rs39 impl<'de: 'a, 'a> Deserialize<'de> for &'a Utf8Path { implementation
48 impl Serialize for Utf8Path { implementation
163 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()
/aosp_15_r20/external/rust/android-crates-io/crates/pathdiff/src/
Dlib.rs103 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()