pub mod closures;
mod crates_io;
pub mod enums;
pub mod file_1;
mod file_2;
mod file_3;
pub mod generics;
pub mod hashmaps;
pub mod iterators;
pub mod lifetimes;
pub mod modules;
pub mod structs;
struct Rectangle {
length: i32,
width: i32,
}
use array_tool::vec::*;
fn main() {
let rect1 = Rectangle {
length: 5,
width: 10,
};
file_1::rect_area(&rect1.length, &rect1.width);
file_2::some_person();
file_3::allowance();
let vec_1 = vec![2, 3, 4, 5, 4, 7, 8, 9];
let vec_2 = vec![8, 5, 6, 9, 3, 2, 1, 2, 0];
let intersection = vec_1.intersect(vec_2.clone());
println!("The intersection = {:?}", intersection);
let union_set = vec_1.union(vec_2);
println!("The union = {:?}", union_set);
println!("Vec 1 two times displayed = {:?}", vec_1.times(2));
}