#tuple #semantics #structs #give

newtype

Custom Derive to give tuple structs newtype semantics

4 releases

0.2.1 May 23, 2019
0.2.0 May 23, 2019
0.1.2 May 19, 2019
0.1.1 May 7, 2019
0.1.0 May 7, 2019

#2695 in Rust patterns

Download history 17/week @ 2024-07-21 35/week @ 2024-07-28 16/week @ 2024-08-04 22/week @ 2024-08-11 16/week @ 2024-08-18 33/week @ 2024-08-25 34/week @ 2024-09-01 22/week @ 2024-09-08 19/week @ 2024-09-15 50/week @ 2024-09-22 37/week @ 2024-09-29 10/week @ 2024-10-06 20/week @ 2024-10-13 15/week @ 2024-10-20 24/week @ 2024-10-27 25/week @ 2024-11-03

85 downloads per month
Used in 4 crates

MIT/Apache

7KB

NewType semantics for single-field tuple structs.

Dependencies

~2MB
~48K SLoC