Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

use module within another module rust

// in your main.rs file add
mod my_module;
// to the top.
// In your module file you can add
use crate::my_module;
// To the top
Source by users.rust-lang.org #
 
PREVIOUS NEXT
Tagged: #module #module #rust
ADD COMMENT
Topic
Name
5+1 =