default-option-arr

Macros for simple default initialization of arrays of option types

EUPL-1.2 License

Downloads
1.9K
Stars
0
default-option-arr - 0.2.0 Latest Release

Published by sunsided 4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/sunsided/default-option-arr/compare/0.1.1...v0.2.0

default-option-arr - 0.1.0

Published by sunsided over 1 year ago

To use it in your project, add:

[dependencies]
default-option-arr = "0.1.0"

Changes since the start

Added

  • Added none_arr! to create [None; N] for any Option<T>.
  • Added none_cell_arr! to create [None; N] for any None<Option<T>>.
  • Added none_refcell_arr! to create [None; N] for any RefCell<Option<T>>.
Package Rankings