1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
mod structs;
mod traits;
use structs::cash::Cash;
use traits::create::Procedures;
use traits::calculate::Operations;
fn cristi() {
let wallet: Cash = Cash::create(String::from("eur"), 2);
let newcacat = wallet.add(3);
println!("{}", newcacat.currency());
}