Creating Crates and Modules

In this chapter, we will cover the following recipes:

  • Defining a module in Rust
  • Building a nested module
  • Creating a module with struct
  • Controlling modules
  • Accessing modules
  • Creating a file hierarchy
  • Building libraries in Rust
  • Calling external crates
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.246.245