jlrs/
private.rs

1//! Helper struct for making public functions uncallable from other crates.
2
3/// If a trait A is used in a trait bound, the trait methods from traits that A extends become
4/// available without explicitly using those base traits. By taking this struct (which can only be
5/// created inside this crate) as an argument, these methods can only be called from this crate.
6pub struct Private;