Module id_seq

Source
Available on doc or test only.
Expand description

Shows a sequential ID generator made with the id_seq! macro.

§Example

// Construct an id generator for a maximum of 254 unsigned 8-bit unique Ids.
id_seq![IdU8, u8];

assert_eq![1, IdU8::new().unwrap().value()];

Structs§

ExampleIdSeqUsize
A unique sequential identifier usize generator.