New Rustacean  learning The Rust Programming Language

e030: Can You See Me Now?

Informações:

Sinopsis

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! Links the reference on visibility RFC #1422 episode source code e020 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 Adam Green Aleksey Pirogov Alexander Kryvomaz Alexander Lozada Alexander Payne Andrew Dirksen Andrew Thompson Anthony Deschamps Anthony Scotti Arlen Haftevani Arlo (Hyena) Arun Kulshreshtha Behnam Esfahbod Benjamin Manns Ben