Injectify
Utility library to use impl Trait
in structs.
Example
use Injectify;
use Debug;
// Allow `MyStruct` to contain implementations
// of `Trait1` and `Trait2` using `impl`:
;
;
License
License Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.