Crates.io | trait_enum_macro |
lib.rs | trait_enum_macro |
version | 0.1.0 |
source | src |
created_at | 2019-02-23 01:50:04.116047 |
updated_at | 2019-02-23 01:50:04.116047 |
description | A macro that allows creating an enum that acts similar to a trait object, but without using the heap. |
homepage | |
repository | https://git.sr.ht/~singpolyma/trait_enum |
max_upload_size | |
id | 116660 |
size | 36,835 |
A macro that allows creating an enum that acts similar to a trait object, but without using the heap.
See: https://singpolyma.net/2018/09/rust-factory-without-box-trait-object/