8000 GitHub - boyer-victor/boyer-victor
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

boyer-victor/boyer-victor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Grüezi!

Open Source Love


struct Engineer {
    name: String,
    role: String,
    education: String,
    spoken_languages: Vec<String>,
    interests: Vec<String>,
}

impl Engineer {
    fn new(
        name: String,
         role: String,
         education:String,
         spoken_languages: Vec<String>,
         interests: Vec<String>) -> Engineer {
        Engineer {
            name,
            role,
            education,
            spoken_languages,
            interests,
        }
    }

    fn print_info(&self) {
        println!("Name: {}", self.name);
        println!("Role: {}", self.role);
        println!("Education: {}", self.education);
        println!("I can speak: {:?}", self.spoken_languages);
        println!("My interests are: {:?}", self.interests);
    }
}

fn main() {
    let engineer = Engineer::new(
        String::from("Victor Boyer"),
        String::from("Software Engineer"),
        String::from("B.S. in Mathematics, B.S. in Quantitative Finance, M.S. in Applied Mathematics"),
        vec![String::from("English"), String::from("German")],
        vec![
            String::from("Cryptology"),
            String::from("Parallel systems"),
            String::from("GPU Acceleration/CUDA"),
            String::from("High Performance Computing")],
    );

    engineer.print_info();
}


🔧 Technologies & Tools

443A

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0