Rust Modules

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Syntax

  • mod modname; // Search for the module in modname.rs or modname/mod.rs in the same directory
  • mod modname { block }


Got any Rust Question?