hodgepodge 0.4.1

Ready-made enum datasets and optional animal taxonomy for prototyping, teaching, and experimentation
Documentation
1
2
3
4
5
6
7
8
// Import hodgepodge. Be sure to import all if you want to use iters.
use hodgepodge::{Element, IntoEnumIterator};

fn main() {
    // How many elements are there?
    let element_count = Element::iter().count();
    println!("There are {element_count} elements");
}