variadic_generics

Crates.iovariadic_generics
lib.rsvariadic_generics
version0.1.2
sourcesrc
created_at2017-04-07 17:31:23.439656
updated_at2021-11-09 10:19:01.727902
descriptionA first attempt in using traits & tuples to work around Rusts lack of variadic generics.
homepage
repositoryhttps://github.com/fkoep/variadic_generics-rs
max_upload_size
id9950
size19,214
(fkoep)

documentation

https://docs.rs/variadic_generics

README

variadic_generics

A first attempt in using traits & tuples to work around Rusts lack of variadic generics.

link to API documentation

example usage

Add to your Cargo.toml:

[dependencies]
variadic_generics = "0.1"

Add to your crate root:

#[macro_use]
extern crate variadic_generics;
  • option_tuple showcases how to implement flatwrap(Option<T>...) -> Option<(T...)>

contribution guidelines

Make sure to cargo install rustfmt and cargo fmt the codebase before creating any commits!

Commit count: 8

cargo fmt