gear_combos

Crates.iogear_combos
lib.rsgear_combos
version1.0.4
sourcesrc
created_at2020-04-29 12:02:03.898534
updated_at2020-04-30 10:19:50.840382
descriptionAttempts to make getting combinations of things easier with the use of gears and simple numeric states!
homepage
repositoryhttps://github.com/dazza91/gear_combos/
max_upload_size
id235306
size13,375
Darren Hill (dazza91)

documentation

README

Attempts to make getting combinations of things easier with the use of gears and simple numeric states!

Example

use gear_combos::*;

let mut gears = vec![Gear::new(2),Gear::new(2)];
let combos = get_gears_combinations(&mut gears);
assert_eq!(vec![vec![0,0],vec![1,0],vec![0,1],vec![1,1]],combos);
Commit count: 0

cargo fmt