Rust Programming Tutorial #34 - Multiple Source Files (Modules)

Publicado em: 06 Janeiro 2018
no canal de: dcode
28,360
542

Today we look at how to organise your code better within your Rust projects by creating separate source files (or modules). By doing so, it makes your code much more readable, easier to understand and easier to maintain.

We take a look at the 'mod' keyword as well as creating a module, importing it and using it. With this, we also look at public visibility for functions and the assumed private visibility.

Take a look here for more information:
https://doc.rust-lang.org/book/second...

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!


Nesta página do site você pode assistir ao vídeo on-line Rust Programming Tutorial #34 - Multiple Source Files (Modules) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário dcode 06 Janeiro 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 28,360 vezes e gostou 542 espectadores. Boa visualização!