New Rustacean

e030: Can You See Me Now?

New Rustacean

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!

Sponsors

Thanks to Manning for sponsoring the show and giving all of you a 40%-off discount on their whole store (but especially their WebAssembly in Action MEAP) at deals.manning.com/new-rustacean!

Patreon Sponsors

(Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!)

Become a sponsor

Contact

Next Episodes

New Rustacean

News: Rust 1.33 and 1.34 @ New Rustacean

📆 2019-04-20 21:15 / 00:18:58


New Rustacean

e029: I’m Out to C @ New Rustacean

📆 2019-04-04 06:15 / 00:23:20


New Rustacean

Bonus 14: How the Sausage Gets Made @ New Rustacean

📆 2019-03-24 03:50 / 00:19:22


New Rustacean

Bonus 13: I Still Make Silly Mistakes @ New Rustacean

📆 2019-02-28 15:20 / 00:12:13


New Rustacean

e028: Meet My Associates @ New Rustacean

📆 2019-02-22 05:30 / 00:23:07