average
average copied to clipboard
`concatenate!` macro cannot expand to public type
Hi,
I'd like to use concatenate!()
and obtain a a public type, but I could not find a way.
Do you envision a simple way to do this?
Thanks
The easiest workaround would be to use the newtype pattern to define a public type:
concatenate!(PrivateEstimator, ...);
pub struct PublicEstimator(PrivateEstimator);
However, this will result in quite a bit of boilerplate code. I'll consider extending concatenate!
to support creating a public type.
Sorry for the late reply!