Crate fusebox

source ·
Expand description

fusebox

Mostly safe and sound append-only collection of trait objects

Why?

This avoids extra indirection of Vec<Box<dyn Trait>>

Usage

let value = MyStruct {};
let mut fb = FuseBox::<dyn Debug>::default();
fb.push(value);

Re-exports

Modules