5 ms·
Rust module system is similar to C#: mod is namespace, extern is assembly reference. The difference here is that there is no separate "project" file, so all ref
by nercury 10y ago
Rust module system is similar to C#: mod is namespace, extern is assembly reference. The difference here is that there is no separate "project" file, so all references to inner module files need to be described in the parent file.