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 */
}
Except as otherwise noted, this blog is licensed under CC BY-SA 4.0 License.
©2021-
searchstar
|
pv
|
uv
Theme Tree
by Wu Jun
Powered by Hexo