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);
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
ndrsllwngr/ndrsllwngr
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
README.md of my GitHub profile
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published