Item visibility and pub(<restricted>) as API design tools.
Show Notes
The easiest and most effective way to understand the example in this case will simply be to look directly at the source code. You can read the docs for each of the nested modules, but you’ll be doing a lot of navigating around for that.
Also, I am using Cargo’s --document-private-items flag, so that you can see all the items in all the modules, even those which are not public, but note that usually you would not see docs for those!
Podden och tillhörande omslagsbild på den här sidan tillhör
Chris Krycho. Innehållet i podden är skapat av Chris Krycho och inte av,
eller tillsammans med, Poddtoppen.