Created
April 8, 2019 14:14
-
-
Save shaver/bf6d3dd15acfd5a58d77ae7b23c88cee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn load_jobs(_file: &str) -> Vec<Job> { | |
extern crate csv; | |
let jobs = vec![Job { | |
_name: "Dude".to_string(), | |
_skill_ratings: ( | |
SkillRating { | |
_name: String::from("Drinking"), | |
_ratings: vec![0; 32] | |
}, | |
SkillRating { | |
_name: String::from("Eating"), | |
_ratings: vec![0; 32] | |
}, | |
SkillRating { | |
_name: String::from("Sleeping"), | |
_ratings: vec![0; 32] | |
} | |
) | |
}]; | |
jobs | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment