1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
mod components;
mod iter;
mod path;
mod pathbuf;
pub use components::*;
pub use iter::*;
pub use path::*;
pub use pathbuf::*;
use crate::private;
use std::hash::Hasher;
pub trait Utf8Encoding<'a>: private::Sealed {
type Components: Utf8Components<'a>;
fn label() -> &'static str;
fn components(path: &'a str) -> Self::Components;
fn hash<H: Hasher>(path: &str, h: &mut H);
fn push(current_path: &mut String, path: &str);
}