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 FuseBox
FuseBox
now supports truly random accessSize
to restrict Sz
to valid unsigned integersAsDyn
to make safe push
possible.FuseBox
is droppedInitial release