| Crates.io | fusebox |
| lib.rs | fusebox |
| version | 0.8.3 |
| created_at | 2023-01-16 00:01:37.451573+00 |
| updated_at | 2023-11-16 11:59:33.868951+00 |
| description | Mostly safe and sound append-only collection of trait objects. |
| homepage | |
| repository | https://github.com/JohnDowson/fusebox |
| max_upload_size | |
| id | 759754 |
| size | 26,128 |
Mostly safe and sound append-only collection of trait objects.
This avoids extra indirection of Vec<Box<dyn Trait>>, which might matter for you.
I personally use it in pcmg audio synthesizer for fusing together multiple filters and oscillators.
push_unsafe removed from public APIpush no longer requires T: Send, instead Send and Sync are implemented for FuseBox<Dyn> depending on wether Dyn isUnsize instead of AsDyn marker trait, making safe push for foreign types possibleSz parameter from FuseBoxFuseBox now supports truly random accessSize to restrict Sz to valid unsigned integersAsDyn to make safe push possible.FuseBox is droppedInitial release