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 / cretu.dev Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cristicretu/cretu.dev
Personal Portfolio built with NextJS, TailwindCSS, and MDX
Home Page: https://cretu.dev
License: MIT License