rust private super trait
pub(crate) mod private {
#[doc(hidden)]
pub trait FooPrivate<Arg> {
fn foo(&self, arg: Arg);
}
}
pub trait Foo<Arg>: private::FooPrivate<Arg> {
/* other public methods */
}
pub(crate) mod private {
#[doc(hidden)]
pub trait FooPrivate<Arg> {
fn foo(&self, arg: Arg);
}
}
pub trait Foo<Arg>: private::FooPrivate<Arg> {
/* other public methods */
}