use light_id::LightId; /** * Output: * 000000000000000000000 * 000000000000000000001 * 000000000000000000002 * 000000000000000000003 * 000000000000000000004 * 000000000000000000005 * 000000000000000000006 * 000000000000000000007 * 000000000000000000008 * 000000000000000000009 * * **/ fn main () { let mut generator = LightId::new(); generator.min(21); for _ in 0..10 { println!("{}", generator.next()); } }