| Crates.io | option_ord |
| lib.rs | option_ord |
| version | 0.1.3 |
| created_at | 2024-07-22 22:43:05.347615+00 |
| updated_at | 2025-01-22 21:11:15.238803+00 |
| description | configure ordering on 1+T with the 1 either smallest or largest, explicit vs derive default |
| homepage | |
| repository | https://github.com/Cobord/option_ord |
| max_upload_size | |
| id | 1312212 |
| size | 5,022 |
proc macro so that
struct MyOption
becomes transparent, and gets the implementation of Ord where the None is bigger/smaller than all the Some(_)
and without generics as well
as in
#[transparent_option_ord(true)]
struct MyOption(Option