struct Developer {
name: &'static str,
current_focus: Vec<&'static str>,
location: &'static str,
email: &'static str,
}
impl Developer {
fn new() -> Self {
Developer {
name: "Tiago",
current_focus: vec![
"🦀 Mastering Rust",
"⚡ Building high-performance applications",
"🔧 Systems programming",
"🌐 WebAssembly projects",
],
location: "Brazil 🇧🇷",
email: "tl.dev@outlook.com",
}
}
fn current_status(&self) -> &str {
"Transitioning to Rust Developer 🚀"
}
}
fn main() {
let tiago = Developer::new();
println!("Status: {}", tiago.current_status());
}