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
31
32
33
34
35
36
37
38
39
40
41
/*
Appellation: seal <module>
Contrib: FL03 <jo3mccain@icloud.com>
*/
//! The public parts of this private module are used to create traits
//! that cannot be implemented outside of our own crate. This way we
//! can feel free to extend those traits without worrying about it
//! being a breaking change for other implementations.
/// If this type is pub but not publicly reachable, third parties
/// can't name it and can't implement traits using it.
;
/// The [`private`] macro injects a hidden, private method into a trait definition preventing
/// it from being implemented outside of the crate.
/// The [`seal`] implements the required method for any trait sealed using the [`private`] macro.
/// The [`marker`] macro wor
$?
}
};
}