[rust-dev] Class UI

Joe Groff arcata at gmail.com
Thu Apr 12 12:03:29 PDT 2012

On Thu, Apr 12, 2012 at 11:54 AM, Niko Matsakis <niko at alum.mit.edu> wrote:
> You would then create an instance of C using `C::create(...)`. The only
> thing I am not sure about is how one declares the construction to be
> private?

Have you guys read Bob Nystrom's notes about designing a safe
constructor interface? His design is by his own words unusual but
could be a good fit for Rust.



More information about the Rust-dev mailing list