Guest User

Untitled

a guest
Jun 20th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. pub type PuzzleDataCreator = fn() -> (PuzzleData, f32, ColorScheme);
  2.  
  3. pub fn mv_all() -> HashMap<&'static str, PuzzleDataCreator> {
  4. let mut all = HashMap::new();
  5. all.insert("mv00", mv00 as PuzzleDataCreator);
  6. all.insert("mv01", mv01 as PuzzleDataCreator);
  7. all.insert("mv02", mv02 as PuzzleDataCreator);
  8. all
  9. }
  10.  
  11.  
  12. fn main() {}
Add Comment
Please, Sign In to add comment