Odak modu
While creating comprehensive programs, it is very important to design code blocks with maximum efficiency and quality. This is mostly possible by grouping related functions and separating the code with different features.
Per Rust official documentation Rust has a number of features that allow you to manage your code’s organization, including which details are exposed, which details are private, and what names are in each scope in your programs. These features, sometimes collectively referred to as the module system, include:
Generally, there are two ways to develop these features: Using existing libraries/features and developing your own code from scratch.
You can find detailed further information from Rust Official documentation: https://doc.rust-lang.org/book/ch07-00-managing-growing-projects-with-packages-crates-and-modules.html
Yorum yapabilmek için derse kayıt olmalısın!