magiclen / unicode-blocks

This crate contains a list of all unicode blocks and provides some functions to search across them.
MIT License
5 stars 5 forks source link

Add macro returning all blocks #2

Open virtualritz opened 1 year ago

virtualritz commented 1 year ago

I.e. this would return a [&UnicodeBlock; 327] slice for convenience that contains references to all block constants in this crate.

Could be named blocks!, all! or all_blocks!.