I’m trying to write my first library in Rust. I want to define a bitset type big enough to hold a bit for each item in a constant array of strings passed into a constructor. It sounds simple enough but there doesn’t seem to be a trait or macro defined for that purpose yet as far as I can see. Any hints?
Thanks in advance!