- An Embedded Software Engineer ✨
struct SoftwareEngineer {
expertises: Vec<String>,
hobbies: Vec<String>,
technologies: Vec<String>,
sports: Vec<String>,
}
fn main() {
let expertises = vec!["Embedded", "IoT", "Programming"]
.iter()
.map(|&expertise| expertise.into())
.collect();
let hobbies = vec![
"Programming",
"Building stuffs",
"Breaking stuffs",
"Fixing stuffs",
]
.iter()
.map(|&hobby| hobby.into())
.collect();
let technologies = vec!["C++", "Rust", "Python"]
.iter()
.map(|&tech| tech.into())
.collect();
let sports = vec!["football", "boxing", "running"]
.iter()
.map(|&sport| sport.into())
.collect();
let me = SoftwareEngineer {
expertises,
hobbies,
technologies,
sports,
};
}