fn main() {
let me = SoftwareEngineer {
name: "Andreas Ellwanger",
role: "Software Engineer",
company: "Celonis",
languages: Vec::from(["de_DE", "en_US"])
};
me.say_hi();
}
#[allow(dead_code)]
struct SoftwareEngineer<'a> {
name: &'a str,
role: &'a str,
company: &'a str,
languages: Vec<&'a str>
}
impl SoftwareEngineer<'_> {
fn say_hi(&self) {
println!("Thanks for dropping by, hope you find some of my work interesting. ~{}", self.name);
}
}
ndrsllwngr / dichtefidelelurche Goto Github PK
View Code? Open in Web Editor NEWThe Settlers of Catan in Java. Practical course software engineering (SEP - Softwareentwicklungspraktikum), main project