impl-trait-for-tuples icon indicating copy to clipboard operation
impl-trait-for-tuples copied to clipboard

Rust attribute macro to implement a trait for tuples

Results 4 impl-trait-for-tuples issues
Sort by recently updated
recently updated
newest added
trafficstars

Hello 👋 Thanks for the amazing crate 🙏 I was just playing around with Rust latest release and discovered that the code underneath doesn't compile. ```rust pub trait TraitWithGat {...

I'm not sure if `impl-trait-for-tuples` can do what I need. I need to implement something that looks like https://docs.rs/slog/latest/src/slog/lib.rs.html#1898 but for tuples instead. How far I got: ```rust #[impl_for_tuples(1, 12)]...

I find this macro handy for tuple implementations, but have bumped into two related issues: 1) Accessing the tuple size as a literal. This is useful if one wants, say,...

Well, not much else to say about it: adds GAT support.