| Crates.io | variadic_generics |
| lib.rs | variadic_generics |
| version | 0.1.2 |
| created_at | 2017-04-07 17:31:23.439656+00 |
| updated_at | 2021-11-09 10:19:01.727902+00 |
| description | A first attempt in using traits & tuples to work around Rusts lack of variadic generics. |
| homepage | |
| repository | https://github.com/fkoep/variadic_generics-rs |
| max_upload_size | |
| id | 9950 |
| size | 19,214 |
A first attempt in using traits & tuples to work around Rusts lack of variadic generics.
Add to your Cargo.toml:
[dependencies]
variadic_generics = "0.1"
Add to your crate root:
#[macro_use]
extern crate variadic_generics;
flatwrap(Option<T>...) -> Option<(T...)>Make sure to cargo install rustfmt and cargo fmt the codebase before creating any commits!